Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

insufficient_permission to access activity data

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 Answer
0 Votes
2 REPLIES 2

Moving to the API forum where you will get a better answer

Community Council Member

Wendy | CA | Moto G6 Android

Want to discuss ways to increase your activity? Visit the Lifestyle Forum

Best Answer
0 Votes

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

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer