Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: How do I export all my TCX files (GPS data of tracked walks)?

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:
Image-1.jpg

Best Answer
0 Votes
2 REPLIES 2

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

 

 

 

Best Answer
0 Votes

Please use the same log-id to test again and provide the complete response to us.

Thank you, Inca

Best Answer
0 Votes