08-02-2017 19:34 - edited 08-03-2017 09:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-02-2017 19:34 - edited 08-03-2017 09:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
