Skip to main content
Answered

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

  • December 14, 2022
  • 4 replies
  • 38 views

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. 

4 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+22
  • Community Manager
  • 133 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.


Forum|alt.badge.img+1
  • Hub Rookie
  • 3 replies
  • May 26, 2025

@Elliott Hi there - I have a similar issue in when generating TCX from Xcode to upload into Strava. I defined 
<Activity Sport="Rowing">, but all my uploaded workouts are still showing up as a Run. Am I defining the wrong field in TCX generation?