Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Failed to get AZM intraday data

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?

Best Answer
0 Votes
1 REPLY 1

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

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes