Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Classic Sleep Summary Data Always send Alseep Count 0

In Sleep Web API, when we fetch clasic type sleep data (duration less than 3 hours), we are always get asleep count 0 in summary. Here is an example

"summary": {
"asleep": {
"count": 0,
"minutes": 102
},
"awake": {
"count": 0,
"minutes": 0
},
"restless": {
"count": 3,
"minutes": 5
}
}

I have found it very confusing as we can see the total asleep minutes 102, but the asleep stage count is 0. Can anyone explain why the API is returning 0?

Best Answer
0 Votes
2 REPLIES 2

Hi @diptopol 

Let me see if I can reproduce this problem, and I'll get back to you.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hi @diptopol 

I just want to provide you with an update.   I've been able to reproduce this problem, and have filed a ticket to our engineering team.   Once I get more information, I'll provide you with an update.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes