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

Cannot get activity or heart rate

So i've been trying to get activity data from my profile from an Android app. The app is registered as a personal app and i can access the public activity data (Not sure if i need to be authorised to get that).

 

However, when i try to get Activity or Heart rate data i get this:

REQUEST:

https://api.fitbit.com/1/user/XXXXXX/activities/heart/date/2017-05-06/1.json

 

{"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}

How come i cant get this data? Im requesting from Chrome Custom Tabs as the docs tells me to to, and i've registered the app as "Personal" so that this data should be accessible. 

 

Any ideas?

Best Answer
0 Votes
1 REPLY 1

This is a long shot, but did you specify your scope correctly when establishing the OAUTH2 connection?

Peter McLennan
Gondwana Software
Best Answer