08-27-2015 23:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-27-2015 23:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I am trying to call the API time sries to get the old data, but after 5 mins or inserting 20 records it throws 505 error(Too Many hits) and I need to wait another 10 to 15 mins inorder to run the service again. It stops again after inserting like 15 to 20 records. Is there any better way to get the data?
Appreciate your help.

08-31-2015 01:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-31-2015 01:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Can anyone help me on this??

08-31-2015 12:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-31-2015 12:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The Fitbit API shouldn't respond with a HTTP 505 error. The rate limit error is HTTP 429.
You say that you're trying to get a year of sleep and activity data, but also that you're inserting. What exactly is the request that you're making and what is the exact response? Raw HTTP request logging is the best way for us to help you.

