I've had users report errors that started happening this morning (Sep 1). Based on the browser console screenshots they provided, some of the API responses are missing CORS headers (specifically, access-control-allow-origin). This completely breaks functionality on our website because we make API requests from the browser rather than via a backend.
It looks like it was due to a change/rollout in the API, since it started affecting a subset of users earlier and is now affecting everyone.
It's only happening for activity APIs, such as the steps/distance timeseries. Other APIs like sleep and heart timeseries are unaffected.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
I haven't seen this particular issue (missing CORS headers) for myself or my users since Sep 6 so hopefully it's been resolved.
Best AnswerAt the time of writing this is what shows up on fitbit / cronometer apps - Cronometer should be showing at least 2776 calories burned.
Best AnswerThis problem is back (missing CORS headers). I get it now on the profile endpoint, but maybe more places.
Hope this can be fixed soon, because this error breaks many apps.
Best Answer