09-23-2025 08:17 - edited 09-23-2025 08:18
09-23-2025 08:17 - edited 09-23-2025 08:18
We are now seeing the same issue with Sleep requests that we did with Water requests. Using the https://api.fitbit.com/1.2/user/-/sleep/list.json endpoint it returns an empty JSON response.
I cannot reproduce the issue with my accounts, but there are many users that are having this issue. The users that we've talked with are using either Versa 2 or Inspire 3. We are continuing to debug the issue, but any help from the community or Fitbit would be greatly appreciated.
Answered! Go to the Best Answer.
09-25-2025 07:45
09-25-2025 07:45
Issue resolved. The sleep array in the response was never mentioned as optional in the documentation. https://dev.fitbit.com/build/reference/web-api/sleep/get-sleep-log-list/ We were expecting a empty sleep array not just the pagination node.
Best Answer09-25-2025 07:45
09-25-2025 07:45
Issue resolved. The sleep array in the response was never mentioned as optional in the documentation. https://dev.fitbit.com/build/reference/web-api/sleep/get-sleep-log-list/ We were expecting a empty sleep array not just the pagination node.
Best Answer