The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
12-14-2022 02:02 PM
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.
Solved! Go to Solution.
12-22-2022 01:52 PM
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.
12-22-2022 01:52 PM
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.
12-22-2022 01:54 PM
Thanks, Elliott.`activity_type` started working again the next day. I've started passing `sport_type` as well.
12-14-2022 02:44 PM
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.
Welcome to the Community - here is your guide to help you get started!