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

Fitbit API reaches limit (Status Code 429) after 11 requests

Edit: I didn't pay enough attention and I'm not making only 11 requests. The problem is I have to make multiple requests in order to get Foods information for each day. I started a new topic on this specific problem, but I couldn't figure out how to delete this topic.

Hello,

 

I'm aware of the 150 requests per hour limit of API requests. In my app I make 11 requests the first time the user authorizes with Fitbit OAuth. I was having no problem when the requests were being made synchronously. But since I've implemented asynchronous parallel calls to the API I get the Too Many Requests message the second time I try to perform another 11 requests. Maybe the API doesn't like many simultaneous requests?

I created a variable that is incremented by 1 everytime an API call is made. No unnoticed calls are being made. 

Best Answer
0 Votes
0 REPLIES 0