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}
04-01-2016 10:10
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
04-01-2016 11:28
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.