cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Webhook Subscription returning error

hrd022
Shkhara

Hi, I am trying to implement Strava webhook but I need to call the subscription API first to create a webhook subscription. I keep getting the following error for some reason even though I am doing everything according to the webhooks documentation:

{
    "message""Bad Request",
    "errors": [
        {
            "resource""PushSubscription",
            "field""callback url",
            "code""not verifiable"
        }
    ]
}
5 REPLIES 5

veloek
Pico de Orizaba

Did you remember to implement a GET handler for the endpoint as well as a POST handler for the actual events? The GET handler is used for validating the callback URL and is described in the documentation (I also overlooked this the first time).

https://developers.strava.com/docs/webhooks/

dearsir
Mt. Kenya

Hey, did you ever get this working, and if so what was the 'secret'? I'm having exactly this. Thanks!

hrd022
Shkhara

Yes, it is app.6amrun.com

veloek
Pico de Orizaba

In your API Application settings, what domain is configured as your "Authorization Callback Domain"? Is it app.6amrun.com?

Yes, the Authorization Callback Domain is app.6amrun.com