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

Error "insufficient_permissions" in getting activity data

ANSWERED

Hi,

I am calling this url to get steps count.

https://api.fitbit.com/1/user/-/activities/steps/date/today/1d/1min/time/14:43/16:43.json

 

But it returns
{"errors":[{"errorType":"insufficient_permissions","message":"API client is not authorized by Fitbit to access the resource requested. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}

 

I obtain my access_token before calling this service.

 

Please help.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hey @workoutwith, the error you're getting means you don't have access to Intraday Time Series. For more info on how to get minute and second level data, I'd suggest checking out this thread here.

 

Hope that helps. Smiley Happy

Andrew | Community Moderator, Fitbit

What motivates you?

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Hey @workoutwith, the error you're getting means you don't have access to Intraday Time Series. For more info on how to get minute and second level data, I'd suggest checking out this thread here.

 

Hope that helps. Smiley Happy

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes