05-21-2024 07:24
05-21-2024 07:24
File "/usr/local/lib/python3.10/site-packages/fitbit/exceptions.py", line 84, in detect_and_raise_error
raise HTTPForbidden(response)
fitbit.exceptions.HTTPForbidden: Invalid authentication token. The PROFILE (READ) scope is required. Visit dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process.
I can't find this in the documentation, everything works for one of my applications, but for another there is this error, what could be the problem? this behavior is not described in the documentation
05-21-2024 17:50
05-21-2024 17:50
Hi @stanhjr,
Welcome to the forums!
I'm not familiar with this error either, but it sounds like you're not asking for the profile scope in your authorization url. Are you attempting to pull data that requires the profile scope? Can you tell me which endpoint you're calling?
05-21-2024 23:08
05-21-2024 23:08
Hi 🙂 fot example , I call the user_profile_get method (
url = "{0}/{1}/user/{2}/profile.json".format(*self._get_common_args(user_id))
05-27-2024 13:12
05-28-2024 04:39
05-28-2024 04:39
We have two applications, in one of them everything works wonderfully, we created another application, and I get a 403 status that is not in the documentation, perhaps we configured the new application incorrectly?
if you need to go into even more detail, I’ll be happy to do it, I just don’t really understand what exactly needs to be provided
thank you for your interest