06-25-2025 05:24
06-25-2025 05:24
I can successfully register people and add them to a subscription. I receive data when they sync and I am able to call for the activity data and record that. However, there is data that seems to only be present in tcx files and so I wanted to download those as well.
Using the endpoint from the manual like this -
https://api.fitbit.com/1/user/GGNJL9/activities/20510012273.tcx
- results in a 404 error message stating "Requested entity was not found". I know that the owner ID and log ID do exist and that an activity with that log ID has data for it. The access token is valid; it works to retrieve data from other endpoints.
I did try changing GET to POST and I got a message about the log file not ending in .json.
I have also tried setting the Accept Language and Locale headers - to both en_US and en_GB - and adding an Accept Content for garmin's tcx format. Nothing works.
Can anyone help with this?