Hello, I have an error while trying to request data. Tell me, why can this be?
Access to XMLHttpRequest at 'https://api.fitbit.com/1/user/7Q276W/body/log/fat/date/2019-08-16.json' from origin 'https://sofia.shms.space' has been blocked by CORS policy: Request header field x-csrf-token is not allowed by Access-Control-Allow-Headers in preflight response.
Best Answer
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.
Hi @topalidinka,
Welcome to the forums!
I am not familiar with this error message, but I can check with the team if they have seen this error message before. In the meantime, this link I found may be of some use.
Also, can you let me know when this issue may have started happening?
I hope to hear from you soon. Let me know if you have any additional questions in the meantime.
Best Answer