09-21-2016 15:29
09-21-2016 15:29
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.
Best Answer09-21-2016 15:47
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-21-2016 15:47
What does the error message in the response body say?
Best Answer09-21-2016 15:50
09-21-2016 15:50
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.
Best Answer