05-22-2019 03:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-22-2019 03:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi,
I was analysing the data from the new v1.2 sleep API obtained by date ranges and I noticed that the isMainSleep attribute is missing from the returned sleep logs.
I found that this was reported about a year ago by sleepster.
Do you know when this bug would be fixed? Is there some information on how Fitbit computes isMainSleep attribute?
Thanks
05-29-2019 15:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



05-29-2019 15:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi @SleepTeam,
Thanks for your question. I am not entirely sure if this is expected behavior or not, but I have moved forward with reaching out to the appropriate team for additional clarification.
Once I receive an update, I will promptly reach out back to you with the information you are asking for.
Let me know if you have any additional questions in the meantime!
09-05-2019 00:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-05-2019 00:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
This was already reported long time ago (https://community.fitbit.com/t5/Web-API-Development/Sleep-API-get-by-date-range-missing-isMainSleep/...), any updates on it?

