Blocked by CORS policy

just in evaluation period testing video callings i’m struggled with a frustrating blocking message after CometChat.startCall method call.
Specifically “Access to fetch at ‘’ from origin ‘https://*******.com’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: Redirect is not allowed for a preflight request.”

Same result on a production site url, localhost:4200, …
Working it on an Angular 7 js webapp using v2 sdk…
Hope someone can help since video calls would be a core feature for my customer…


Hello @Nuajan,

Can you please share with us the request header, response header and body parameters from the network tab for the api endpoint which is giving you CORS error ?


request Headers

  1. Accept:application/json
  2. appId:13474805f297879
  3. authToken:superhero3_b9477b653038d7c944d5bd07861aeb01405d0cb8
  4. Content-Type:application/json
  5. User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

status: “ongoing”

No response headers. (net::ERR_FAILED)

Error in console:
(cannot include more links in my post, sorry) The same as in first post


Hi @Nuajan,

We have checked this at our end and it is working without any issues.

If you are still facing the issue, please share the minimum code to reproduce the issue at our end so that we can assist you further.