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

Error when getting day summary

We're getting following errors when querying the day summary data of our customers:

 

 404 Not Found: "{"errors":[{"errorType":"system","fieldName":"n/a","message":"Not Found"}],"success":false}"

 

This happened on several occasions in the last days, where it failed for all our customers. An hour later, when we fetched the day summary again, everything worked out fine. We haven't seen this error in the several months we using the Fitbit API before.

What does error type system mean exactly? https://dev.fitbit.com/build/reference/web-api/troubleshooting-guide/error-handling/ only states "The system request failed", which is very vague on details.

Is this an error on Fitbit side? And if yes, why isn't a 5xx error returned?

 

Best Answer
0 Votes
3 REPLIES 3

Hi @mle23 

Would you please provide me with the exact endpoint syntax that you're using?   If you include the user id in the endpoint request, exchange it for "-".

Gordon

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

It was a GET request to

 

https://api.fitbit.com/1/user/-/activities/date/YYYY-MM-DD.json

 

I replaced the user id with "-" and todays date with "YYYY-MM-DD", since the forum software complained that the message body containing that string is not permitted in this community 🤯

 

I'm not 100% sure about the requested day, since we did requests for multiple days ( in case a user did not sync his Fitbit every day) and our logging was not that good in this case.

 

 

Best Answer
0 Votes

Hi @mle23 

I'm not able to find any recent 404 errors in our logs.   I'm going to send you a message to request more information from you.

Gordon

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