06-10-2015 11:28
06-10-2015 11:28
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 Answer06-10-2015 11:40
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.
06-10-2015 11:40
Thanks, Aaron. I've sent this to the appropriate team to investigate.
Best Answer06-10-2015 12:29
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.
06-10-2015 12:29
The issue has been identified. We hope to have the fix released by Monday. Thank you for the report!
06-10-2015 12:35
06-10-2015 12:35
Awesome response time, thanks @JeremiahFitbit !
--Aaron
Best Answer