11-29-2015 02:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 02:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I've been getting timeout for activityCalories. Is this a known problem?
https://api.fitbit.com/1/user/-/activities/activityCalories/date/today/max.json
Thanks

11-29-2015 04:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 04:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It took a while to gather the data but worked. You sure your process is not timing out before you have time to gather the data ?

11-29-2015 08:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 08:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Bonxy, thanks for confirming it's slow for you too.
For me, this API took about 30 seconds, then returned 504 HTTP error. It doesn't seem normal, because all the other Fitbit API are returning data pretty fast (within 3 seconds)

11-29-2015 08:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 08:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
If you have been on Fitbit for 4 years that's (4x365) days of data so will take time I can imagine.
Try changing the max to 1d,1w,1m,1y for a day, Week, month or years worth of days.

11-29-2015 08:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 08:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Yes I'm going to change max to something like 1m as the last option.
But before that, want to post here to know if there's an API bug, to cause this specific API to be slow. All the other API are very fast with max; also I'm using max only for the very first time of usage, subsequent API usage are incremental.
11-29-2015 09:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 09:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 09:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-29-2015 09:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
https://community.fitbit.com/t5/Web-API/Active-Calories-Timeout/m-p/646356#M1226

