04-01-2016 06:00
04-01-2016 06:00
I have created application with "Client" application type.
I am using OAuth2 grant flow.
I have set all scopes activity, profile, etc.
I am trying to access todays activity data using below endpoint,
https://api.fitbit.com/1/user/[user-id]/activities/steps/date/today/1m.json
I set header Authorization Bearer [access-token]
I am getting below error.
{"errors":[{"errorType":"insufficient_permissions","message":"API client is not authorized by the resource owner to access the resource requested. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}
Best Answer04-01-2016 10:10
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
04-01-2016 10:10
Moving to the API forum where you will get a better answer
Wendy | CA | Moto G6 Android
Want to discuss ways to increase your activity? Visit the Lifestyle Forum
Best Answer04-01-2016 11:28
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
04-01-2016 11:28
@NilamNaik It needs to be a "Personal" app since you're trying to access intraday time series data. When it's set to "Personal", you can access intraday data only for the owner of the app.