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 Answer
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.
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