09-09-2019 11:12
09-09-2019 11:12
{"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 p
rocess."}],"success":false}
I get this error but I authorized it in the scope and was given a token.
Answered! Go to the Best Answer.
09-12-2019 07:12
09-12-2019 07:12
The issue is resolved. I was attempting to access intraday HR data before my app was approved for intraday. Thank you.
09-09-2019 11:14
09-09-2019 11:14
https://api.fitbit.com/1/user/-/activities/heart/date/2019-09-09/1d/1sec/time/09:00/16:00.json
Here is the json I'm trying to get.
I'm also using
'Authorization': 'Bearer ' + fitbitAccessToken
Could this have to do with that there actually is not data saved during that time?
09-10-2019 07:26
09-10-2019 07:26
Hi @nquestion
If you authorized the heart rate scope, then you should be able to retrieve the heart rate data. Would you please private message me the access token you're using?
Thanks!
Gordon
09-10-2019 08:44
09-10-2019 08:44
Hi Gordon,
Thanks for the message. I think the issue is that I was trying to access intraday heart rate data before being approved by the API Team.
I will let you know after approval if this issue is resolved or not.
Thank you,
-nquestion
09-12-2019 07:12
09-12-2019 07:12
The issue is resolved. I was attempting to access intraday HR data before my app was approved for intraday. Thank you.