Skip to main content

Hey there! I’ve noticed something a bit odd with the update activity webhook. It seems to be reporting the wrong sport type when updating it.

 

Let me give you a few examples:

 

If I try to update the sport type from “Run” to “Mountain Bike Ride,” the webhook just reports “Ride” instead of “Mountain Bike Ride.”

 

Similarly, if I try to update the sport type from “Alpine Ski” to “Trail Run,” the webhook just reports “Run” instead of “Trail Run.”

 

It seems like for variations of the same sport type (like “Run” and “Trail Run” or “Ride” and “Mountain Bike Ride”), the webhook always ends up reporting the base sport type.

 

Is this a known issue? I’d love to know if there’s a fix for this. 

Ciao ​@Panimaster. I was just reading this past thread and also if relates with events refers to issues on webhook sport types. Hope you can find answers to your question.

https://communityhub.strava.com/developers-api-7/add-sport-type-to-webhook-events-3133?tid=3133&fid=7


@Vincenzo, Thank you for replying. I resolved the issue by refetching the activity after receiving notification from the webhook that the sport type had changed. That way, I can ensure that I get the right one. 


Reply