Hi.
I try to get a list of chats via JS API, but i’m getting CORS error.
I used your example from the documentation after it didn’t work i added extra params to the header:
[‘Access-Control-Allow-Origin’:‘*’, ‘Cross-Origin-Resource-Policy’: ‘no-referrer no-referrer-when-downgrade’] still the same error.
Any help appreciated.
Thanks.
1 Like
Hi,
Thanks for reaching out to us. Would you be open to a quick call with one of our technical team members so we can thoroughly check this together via screen share?
If so, please schedule a call at your convenience using this link: Schedule a call.
Looking forward to your confirmation.
1 Like
This kind of CORS error usually happens when the server isn’t allowing requests from your domain. Try adding the correct origin in your server’s CORS policy or enabling Access-Control-Allow-Origin for your site.
1 Like
Hi @Jasonreed ,
Thanks for reaching out to us. You can check out the following article for a step-by-step guide on how to change the referrer policy setting on your website:
How to Change the Referrer Policy Setting on Your Website
If you have any questions or run into any issues while making the changes, feel free to let us know — we’re happy to help!
1 Like