Hello API Team,
We've been noticing issues with sleep pulled by individual days, mostly older year days returning 500 errors only IF there is sleep data in a given day. Example:
200 - No error (timeInBed = 0):
https://api.fitbit.com/1/user/-/sleep/date/2012-07-16.json
500 - Internal Server Error (timeInBed = 439)
https://api.fitbit.com/1/user/-/sleep/date/2012-07-17.json
You can test this with profile: 23FF77
Our logs show the issue going back at least a few weeks. Happy to send you our consumer key, Jeremiah knows how to get ahold of me.
Thanks,
--Aaron
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
The issue has been identified. We hope to have the fix released by Monday. Thank you for the report!
Awesome response time, thanks @JeremiahFitbit !
--Aaron
Best Answer