Skip to main content
Question

Webhook Subscription returning error


Forum|alt.badge.img+2

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

Forum|alt.badge.img+6
  • Hub Rookie
  • 9 replies
  • December 8, 2023

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


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • 2 replies
  • December 8, 2023

Yes, it is app.6amrun.com


Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • 2 replies
  • December 8, 2023

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


Forum|alt.badge.img
  • Hub Starter
  • 1 reply
  • January 31, 2024

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


Forum|alt.badge.img+6
  • Hub Rookie
  • 9 replies
  • February 1, 2024

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/


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings