Skip to main content
Answered

Update activity webhook returns wrong sport type

  • May 15, 2025
  • 2 replies
  • 50 views

Panimaster
Forum|alt.badge.img+2

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. 

Best answer by Vincenzo

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

2 replies

Vincenzo
Superuser
Forum|alt.badge.img+27
  • Superuser
  • Answer
  • May 17, 2025

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


Panimaster
Forum|alt.badge.img+2
  • Author
  • Hub Rookie
  • May 28, 2025

@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.