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

Time range start time is in future error for no reason?

ANSWERED

I get this error periodically and am not sure why. I think you can see that my time range is ok. The start time is before the end time and the job pulling the data is running at 16:17.

{"errors":[{"errorType":"request","fieldName":"n/a","message":"Time range start time is in future."}]}

activities/steps/date/2017-06-02/1d/1min/time/14:22/16:17.json

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

@mistyper Maybe an issue with timezone? If the timezone of the user you're requesting data for is behind the start time you're requesting, then you'll see that error. Say for instance if it's 16:17 in your timezone, but it's 13:17 in the user's timezone, that would mean the start time of 14:22 is "in the future" for that user.

Andrew | Community Moderator, Fitbit

What motivates you?

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

@mistyper Maybe an issue with timezone? If the timezone of the user you're requesting data for is behind the start time you're requesting, then you'll see that error. Say for instance if it's 16:17 in your timezone, but it's 13:17 in the user's timezone, that would mean the start time of 14:22 is "in the future" for that user.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes