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

Response Shows 0 Values for Keys in Summary

ANSWERED

My team and I are developing a chrome extension that makes requests for Fitbit user data throughout the day. It is not exceeding 150 requests/hour and the only data we need currently is the steps in the daily summary. These requests return the appropriate user data all day until late in the evening when it starts returning a 0 value for all keys in the summary. The user's fitbit account is accurate and the 0 value response is happening before the midnight reset. What may be causng the response to be 0?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

@KateDJ Probably due to the timezone the user is in. If you're using "today" as the date, and a user enters a new "today" via their timezone, then you'll see zeros.

Andrew | Community Moderator, Fitbit

What motivates you?

View best answer in original post

Best Answer
2 REPLIES 2

@KateDJ Probably due to the timezone the user is in. If you're using "today" as the date, and a user enters a new "today" via their timezone, then you'll see zeros.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer

That was it, we were using 'today' instead of the date in our request. Thank you!

Best Answer
0 Votes