cancel
Showing results for 
Search instead for 
Did you mean: 

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

row_developer
Shkhara

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.

1 ACCEPTED SOLUTION

Elliott
Community Manager Community Manager
Community Manager

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 solution in original post

3 REPLIES 3

Elliott
Community Manager Community Manager
Community Manager

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. 

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

row_developer
Shkhara

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.