JS CORS error while fetching chat.list

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.

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.