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

TypeError: Failed to fetch through WebAPI Explorer

Hello,

I am not able to access activities within Fitbit Web API Explorer. It worked good in February 2025. 

Example:

1.https://dev.fitbit.com/build/reference/web-api/explore/#/ -> Authorize

2. /1/user/-/activities/frequent.json -> Get Recent Activity Types

3. Execute

4. Undocumented (Code) TypeError: Failed to fetch (Details)

Other scopes (badges, profile etc. ) are working just fine.

Thanks for answer.

Best Answer
3 REPLIES 3

Hi @zdenko ,

Thanks for reaching out regarding this issue.

Could you please try executing the same query using the Fitbit Web API Explorer, ensuring you use the same authorization?
If the problem persists, kindly share the reproduction steps and any error screenshots with us.

Thanks,
Inca

Best Answer
0 Votes

This is caused by the issue I reported in https://community.fitbit.com/t5/Web-API-Development/401-Unauthorized-error-for-OPTIONS-preflight-req... where some of the APIs are missing CORS headers for OPTIONS requests. This breaks browser usage of the APIs, including in the Web API explorer.

Best Answer

Make sense. Any progress on this ? Thank you.

Best Answer
0 Votes