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 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.
`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.
We use 4 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies ( referred to as 'Strictly Necessary' cookies in our Cookie Policy) to make this site work, therefore these are the minimum you can select. Learn more about our cookies.