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

400 error with "validation - logId - Could not convert activity log 1.1 to TCX" on TCX endpoint

ANSWERED

We have an issue attempting to fetch TCX data for one activity for one of our users

 

We're making a request to a URL of the form https://api.fitbit.com/1/user/-/activities/xxxxxxxxxx.tcx just like all other activities but we get a 400 response code with the content

 

validation - logId - Could not convert activity log 1.1 to TCX

Since the activity id at least indirectly identifies a user I'm not sure I should paste it into a public forum 🙂

 

What would be the best place to raise this issue?

 

Thanks

 

Best Answer
1 BEST ANSWER

Accepted Solutions

Hi @abs0 

 

Posting the tcx log name in the forums is ok.  However, for me to investigate, would you please private message me the following:

 

  1. The complete API call you're executing to get the TCX file including the query parameters (if any)
  2. The access token for the user
  3. The timeframe when you executed the API call and received the error

Thanks!

Gordon

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
7 REPLIES 7

Hi @abs0 

 

Posting the tcx log name in the forums is ok.  However, for me to investigate, would you please private message me the following:

 

  1. The complete API call you're executing to get the TCX file including the query parameters (if any)
  2. The access token for the user
  3. The timeframe when you executed the API call and received the error

Thanks!

Gordon

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hi @abs0 

 

Thank you for sending over the information.  I've been able to reproduce this problem and it might be a bug.   I created a support case for this problem and will file a ticket to engineering to investigate.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer

Many thanks.

 

This was the only TCX fetch issue we hit in ~100,000 or so activities, so I suspect its pretty much an edge case 🙂

 

David

 

Best Answer
0 Votes

Would you care to enlighten us on the support case number and the progress. I have a problem this morning with GPS enabled interval data not being able to exported. The data cant be exported from your dashboard. I'm getting an obscure message. 

 

'The activity TCX file could not be downloaded. We are looking into the issue'

 

When I tried to use your API directly I get the following more clear error message:-

 

Could not convert activity log 1.1 to TCX

 

My activity number is 26638633799. This is simply not good enough and I will be moving to Garmin as soon as possible. I guess you care even less about these issues now that google have bought you.

 

Best Answer

Hi @mestebanez 

 

We're still working on a fix for this problem.  I've created case 33057534 and will reach out to you via the case to investigate your issue is the same that has already been reported.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hello. I'm getting the same error

validation - logId - Could not convert activity log 1.1 to TCX

This is from a Versa 4, using the Exercises app, Interval Training type.

Any advice on how I can download the TCX for this using the API?

Best Answer
0 Votes

Wish I knew - now heard back since the initial (prompt and encouraging) reply & question from Fitbit

Best Answer
0 Votes