02-02-2023 02:54 - edited 02-02-2023 03:02
02-02-2023 02:54 - edited 02-02-2023 03:02
I'm running into an issue when attempting to request intraday data for some of our customers. As intraday data requires the user to request for access (for the API at least). Due to this, when requesting intraday data for users that haven't requested it, we get an error returned (as expected).
To avoid this error, my question:
is there is any way to check whether a client-id has intraday data enabled?
02-06-2023 12:05
02-06-2023 12:05
Intraday is enabled at the client ID, not the user's. If you provide me with your client ID, then I can verify if we have enabled it. You may private message me your client ID if you want.
Gordon
02-07-2023 00:44
02-07-2023 00:44
Hey GordonFitBit,
Intraday is enabled for our client ID however in some rare cases we still receive the following error:
[{
'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 process.'
}]
Do you have any idea how to fix this?
WeFitterTech
02-07-2023 05:56
02-07-2023 05:56
To troubleshoot the error, I will need your client ID. Since the problem is sporadic, would you please send me the datetime when the error occurred last and the endpoint that you were executing? I will investigate things on our end.