06-17-2022 05:30
06-17-2022 05:30
I try to extract activity time series data by date range. However, there is a limit on how far back I can go in number of days and this differs from individual to individual. For some subjects I can extract 693 days of data, for other subjects it differs and I can't find the exact limit. Is this specified somewhere?
Answered! Go to the Best Answer.
06-22-2022 08:45
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-22-2022 08:45
I know with some of the activity resources, you can only query a certain amount of data which is approximately 1M bytes. This would explain why you can query X amount of days for one user by not the next. My recommendation is to reduce your interval to 3 - 6 months. This should prevent you from hitting any type of response size restriction.
06-17-2022 10:52
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-17-2022 10:52
Hi @KULKver
I will clarify this the documentation. In the meantime, which resource are you querying with the activity time series endpoint? Some of the resource have different restrictions.
Gordon
06-20-2022 05:29
06-20-2022 05:29
I'm querying steps, distance, calories, etc., almost everything that can be queried. For all of these activities, I provide a begin and end date. And often the time period between begin and end date is too large causing the error that too many data points are being requested.
Best Answer06-22-2022 08:45
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-22-2022 08:45
I know with some of the activity resources, you can only query a certain amount of data which is approximately 1M bytes. This would explain why you can query X amount of days for one user by not the next. My recommendation is to reduce your interval to 3 - 6 months. This should prevent you from hitting any type of response size restriction.
06-22-2022 09:03
06-22-2022 09:03
That's good to know, thanks!
Best Answer