The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
07-24-2023 11:58 PM - edited 07-25-2023 12:01 AM
Hello guys. We want to connect our swimming app to the Strava API.
Everything is working well, except Webhook Events API. According to the documentation https://developers.strava.com/docs/webhooks/, we need to Create a subscription.
On this step when we make the request:
$ curl -X POST https://www.strava.com/api/v3/push_subscriptions \
-F client_id=XXXXXX \
-F client_secret=XXXXXX \
-F callback_url=https://api.openswim.fr/api/strava \
-F verify_token=STRAVA
We always get this error:
{
"message": {
"errors": [
{
"code": "not verifiable",
"field": "callback url",
"resource": "PushSubscription"
}
]
}
}
When we check the Subscription Validation Request, it looks fine.
For example:
Response:
{"hub.challenge":"15f7d1a91c1f40f8a748fd134752feb3"}
So, we don’t understand this error, where it comes from and what changes need to be made.
Solved! Go to Solution.
12-13-2023 02:50 AM - edited 12-13-2023 05:00 AM
Resolved, we had an issue with our SSL certificate, when we fixed it, the Strava subscription started working.
SSL certificate problem: unable to get local issuer certificate
Thanks everyone.
12-13-2023 02:50 AM - edited 12-13-2023 05:00 AM
Resolved, we had an issue with our SSL certificate, when we fixed it, the Strava subscription started working.
SSL certificate problem: unable to get local issuer certificate
Thanks everyone.
11-22-2023 10:16 PM
or it is possible you are sending the hub.challenge provided in the example instead responding with the one sent in the request?
11-22-2023 10:07 PM
Your callback_url (https://api.openswim.fr/api/strava) 403's. Strava can't communicate with it so it fails to create the subscription.
08-31-2023 08:35 PM
Exactly we are also running into the same issue.
{
"message": "Bad Request",
"errors": [
{
"resource": "PushSubscription",
"field": "callback url",
"code": "not verifiable"
}
]
}
Callback URL:
https://app.amaravatibicyclers.club/api/webhook/strava?hub.verify_token=6ef768b8-486d-11ee-be56-0242ac120002&hub.challenge=15f7d1a91c1f40f8a748fd134752feb3&hub.mode=subscribe
Strava any updates on this ?
07-27-2023 10:52 PM
I have another issue with this action. The response is a html code with following section :
var messages = {
'maintenance': {
'title': "Strava is offline for scheduled maintenance",
'details': "The site's in the shop for a little tune-up."
},
'unavailable': {
'title': "Strava is temporarily unavailable",
'details': "We hit a road block, but our team is working on an alternate route."
}
};
Welcome to the Community - here is your guide to help you get started!