10-03-2023 23:45
10-03-2023 23:45
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?
10-04-2023 07:33
10-04-2023 07:33
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
10-04-2023 09:19
10-04-2023 09:19
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.
10-04-2023 13:39
10-04-2023 13:39
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