10-24-2016 23:20
10-24-2016 23:20
Hey
Im trying to get some data freom the API, and i can get profile but when i try to get Heart Rate with this call.
https://api.fitbit.com/1/user/-/activities/heart/date/today/1d.json
But I get this error
Views/Fitbit/{"errors":[{"errorType":"insufficient_scope","message":"This application does not have permission to access heart rate data. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}.aspx
I think it is strange i have permisson to see profile but not data.
And i have Read through forum and in docs but nothing seems to fit my problems.
Answered! Go to the Best Answer.
10-25-2016 11:04
10-25-2016 11:04
@JimmyL That means the user didn't give access to the 'heart rate' scope when they authorized your app.
10-25-2016 11:04
10-25-2016 11:04
@JimmyL That means the user didn't give access to the 'heart rate' scope when they authorized your app.