09-21-2016 15:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-21-2016 15:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I have an app where I successfully authenticate the user, and then receive a 401 when trying to make a GET to:
/1/user/-/foods/log/caloriesIn/date/today/max.json
This appears to only happen intermittently.
Do you know what this could mean? I don't see anything specifically about 401 in the activity endpoint docs or on the Basics page.

- Labels:
-
JavaScript
09-21-2016 15:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-21-2016 15:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
What does the error message in the response body say?

09-21-2016 15:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-21-2016 15:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Here's the bug report I'm following up on: https://github.com/NickHeiner/fitbit-export/issues/12. You can see some additional details there.
I am actually not sure from that output what the response body says, although that sure would have been good information for me to include with my original question! 🙂 I'll investigate more and get back to you.

