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

FitBit integration CORS error

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
0 Votes
1 REPLY 1

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
0 Votes