03-22-2025 03:54
03-22-2025 03:54
Am I doing something wrong? I was not expecting the response that I got back
curl 'https://api.fitbit.com/1/user/<USERID>/activities/<LOGID>.tcx?includePartialTCX=true' \
-H 'accept:application/vnd.garmin.tcx+xml' \
-H 'authorization: Bearer <ACCESS-TOKEN>'
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TrainingCenterDatabase xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2">
<Activities>
<Activity Sport="Other">
<Id>[DATE]</Id>
<Creator xsi:type="Device_t" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UnitId>0</UnitId>
<ProductID>0</ProductID>
</Creator>
</Activity>
</Activities>
</TrainingCenterDatabase>
There is data associated to this exercise in fitbit:
03-27-2025 23:13
03-27-2025 23:13
Hi @nilli29
Thank you for reaching out, I tried the Get Activity TCX through https://dev.fitbit.com/build/reference/web-api/explore/
With the same exercise type - Aerobics and parameter - includePartialTCX=true, I can get the correct data.
Can you try to test the Get Activity TCX query again through the Fitbit Web API Explorer and check if you still get the same response?
Thanks!
Inca
03-28-2025 00:17
03-28-2025 00:17
Please use the same log-id to test again and provide the complete response to us.
Thank you, Inca