03-19-2023 23:39
03-19-2023 23:39
I encountered a 403 error when attempting to retrieve my AZM intraday data through the API call from my Personal-type application. The error message was "API client is not authorized by Fitbit to access the resource requested".
The endpoint I used was:
https://api.fitbit.com/1/user/-/activities/active-zone-minutes/date/today/1d/15min.json
However, I was able to successfully retrieve activity intraday data with a status code of 200 using the endpoint:
https://api.fitbit.com/1/user/-/activities/calories/date/today/1d/15min.json
Based on this, I believe I correctly set the scope of the resource and the application type. Is there an error in the endpoint path for retrieving AZM intraday data, or could there be another issue causing the 403 error?
03-20-2023 06:49
03-20-2023 06:49
Hi @mki1809
If you're registered application has the application type = "personal", then the syntax you provided should work. I am not able to reproduce the 403 error using the syntax you've provided. So, I'm going to send to an email to collect some information from you to troubleshoot this problem.
Best,
Gordon