06-03-2022 01:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-03-2022 01:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi All, just testing out the spo2 API and I cant connect by my normal means. All other api's still work however the spo2 API gives me this error ...
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.
I have authorised it with the new scope and even created a separate app to validate it's not acceptance of new T&Cs etc.
Any ideas?
Thanks!!
Like I said, all previous api's work, just getting an issue on spo2
Answered! Go to the Best Answer.
Accepted Solutions
06-04-2022 03:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-04-2022 03:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Fixed, for some reason it just started working in the evening!

06-03-2022 01:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-03-2022 01:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi All, just testing out the spo2 API and I cant connect by my normal means. All other api's still work however the spo2 API gives me this error ...
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.
I have authorised it with the new scope and even created a separate app to validate it's not acceptance of new T&Cs etc.
Any ideas?
Thanks!!
Like I said, all previous api's work, just getting an issue on spo2
06-04-2022 03:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-04-2022 03:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Fixed, for some reason it just started working in the evening!

06-16-2022 20:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-16-2022 20:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Could you please tell me what is the new scope to get sp02 data;
When I want to get the authorise it but it return error:
Developer information: invalid_scope - Invalid scope string : spO2
Developer information: invalid_scope - Invalid scope string : sp02
Should I creating a new Fitbit Developer Account again?

06-17-2022 02:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-17-2022 02:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi, I have same issue when fetch the breathing rate and SpO2.
could you please advise what is the scope for spo2 and breathing rate?

06-19-2022 12:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-19-2022 12:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Caseylol, @Yiuman
I am using https://github.com/orcasgit/python-fitbit/blob/master/fitbit/api.py to do the authorization process.
Add respiratory_rate and oxygen_saturation to session.scope in def authorize_token_url. Revoke access to your app, do authorization, mark 'All' and now you should be able to request SpO2/BR data.

06-19-2022 12:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-19-2022 12:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi, oxygen_saturation should be it SPO2 and respiratory_rate for Breathing Rate

