Hello
Using the authorization code grant flow
I'm creating an app that I want to import and use the activity data for Pitbitt
It was easy to get to the access token
However, when I try to get a summary of daily activities, I get the following error
http retcode = 403
msg = Forbidden
{"errors": [{"errorType": "insufficient_scope", "message": "This application does not have permission to access activity data.) Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process. "}]," Success ": false}
Tell me what's wrong and what's the solution
Thank you
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.
You need to use the correct Scope - https://dev.fitbit.com/build/reference/web-api/oauth2/#scope
Best Answer