08-25-2025 10:56
08-25-2025 10:56
I have implemented strict logging, call counts, and ensured no redirect calls are being made. I have been retroactively pulling data from authorized users of my application; going back to their enrollment in a research study, 100 days at a time, for various endpoints. During my testing, I keep getting the rate limit exceeded 429 error. After my token refresh call and 1 call per day for 100 days, I expect to be well under the 150 calls per user per hour limit. My count on calls when the error throws is either 74 or 75. Which led me to believe that the fitbit rate limiting logic is double counting somehow. I have log files that have unique header ids, counts, and reset urls or each call to rule out duplicate/redirect calls. The rate limit count reports a drop of 1 or 2 each call, sometimes 3 or more. After about 75 calls it hits the 0 or -1 count and throws the error. I've even tried slowing down the call rates to no avail. I need someone on the fitbit side to look into why this is happening.
09-04-2025 08:38
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.
09-04-2025 08:38
Hi @jputney
Have you checked the values that we return in the response headers to see if the numbers match what you counted? There are 3 response headers you can use to checking the rate limit.
Keep in mind, the rate limit is 150 API requests per hour and per user. We reset the rate limit, approximately, at the top of each hour.
Gordon
Best Answer09-07-2025 18:15
09-07-2025 18:15
Best Answer09-08-2025 16:33
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.
09-08-2025 16:33
Yes, please provide me with your client ID. I'll see if I can find anything in our logs.
Best Answer09-08-2025 16:42
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.
09-08-2025 16:42
Hi @jputney
Also, would you tell me which endpoints your application is calling?
Best Answer09-09-2025 00:15 - edited 09-09-2025 00:15
09-09-2025 00:15 - edited 09-09-2025 00:15
My client_id is: 22CTJN
I am seeing the same thing in our app.
I am seeing the rate limit decrease by an average of 2 for these endpoints:
/1/user/:UID/activities/minutesSedentary/date/DATE/DATE/15min/time/23:07/23:59.json
/1/user/:UID/activities/minutesSedentary/date/DATE/1d/15min.json
And the same thing with:
minutesLightlyActive
minutesFairlyActive
minutesVeryActive
calories
distance
elevation
floors
steps
However, these endpoints showed response header "fitbit-rate-limit-remaining" to be decreasing by about 1:
/1/user/:UID/profile.json
/1/user/:UID/devices.json
/1/user/:UID/activities/heart/date/DATE/1d.json
/1/user/:UID/hrv/date/DATE1/DATE2/all.json
Can you look into why this may be occurring?
Best Answer09-09-2025 06:11
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.
09-09-2025 06:11
Thank you for sharing the endpoints. When I tested it, I wasn't seeing a decrease by 2 API calls. I wasn't testing the endpoints you are using. Let me see if I can reproduce it.
Best Answer09-09-2025 06:55
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.
09-09-2025 06:55
Hi @agent_never
I tested the endpoints you provided and I am able to reproduce the problem. The rate limit counter adjusts by 2 when using the intraday resources minutesSedentary, minutesLightlyActive, minutesFairlyActive, and minutesVeryActive. Calories, distance, elevation, floors and steps adjust the rate limit counter by 1.
minutesSedentary, minutesLightlyActive, minutesFairlyActive, and minutesVeryActive resources are not supported with the Intraday Activity endpoints. See Get Activity Intraday by Date. There is a bug that allows developers to call these resources. I've reported the problem and your application will not be able to call them in the future. My recommendation is to stop using them. When we disable the resources for the Intraday endpoints, your application will receive errors.
Gordon
Best Answer09-09-2025 07:39
09-09-2025 07:39
My client ID is 23QD3H
The endpoints are activity intraday, activity zone mintue intraday, daily activity summary , and heart rate intraday.
Best Answer09-09-2025 07:49
09-09-2025 07:49
Best Answer09-10-2025 10:53
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.
09-10-2025 10:53
Thank you! Let me see if I can reproduce the problem with these endpoints.
11-12-2025 06:39
11-12-2025 06:39
Bumping for update
Best Answer11-12-2025 15:53
11-12-2025 15:53
From my logs, it looks like they fixed the problem on October 16th.
Best Answer