09-09-2019 11:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-09-2019 11:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
{"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.
Accepted Solutions
09-12-2019 07:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-12-2019 07:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-09-2019 11:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-10-2019 07:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

09-10-2019 08:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-10-2019 08:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-12-2019 07:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The issue is resolved. I was attempting to access intraday HR data before my app was approved for intraday. Thank you.

