Skip to main content
Solved

Uploading TCX with activity_type='rowing' no longer sets activity sport


Forum|alt.badge.img+1

Hello,

We're seeing a change in behavior since yesterday, where uploading a TCX file to the /uploads endpoint with an activity_type="rowing", no longer sets the Sport correctly on the activity in Strava. It is set to 'Workout' instead of 'Rowing'.

Did anything change on the Strava side related to activity_type?

Thanks for the help.

Best answer by Elliott

Hi there, 

Thanks for reaching out! 

`activity_type` is still supported, and passing in rowing as the value with your file should reflect that in your upload. While we do recommend that you use `sport_type` now that it has been introduced, we have confirmed on our side that sending in rowing for the `activity_type` alongside a TCX is working as expected.

If you're still experiencing issues let us know. 

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • 2 replies
  • December 14, 2022

If I include `sport_type` in the request, everything works as expected. It seems like the support of the deprecated `activity_type` field in the request is no longer working.


Forum|alt.badge.img+20
  • Community Manager
  • 132 replies
  • Answer
  • December 22, 2022

Hi there, 

Thanks for reaching out! 

`activity_type` is still supported, and passing in rowing as the value with your file should reflect that in your upload. While we do recommend that you use `sport_type` now that it has been introduced, we have confirmed on our side that sending in rowing for the `activity_type` alongside a TCX is working as expected.

If you're still experiencing issues let us know. 


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • 2 replies
  • December 22, 2022

Thanks, Elliott.`activity_type` started working again the next day. I've started passing `sport_type` as well.


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