CORS error issue while uploading video using API jQuery

Access to XMLHttpRequest at ‹ https://domain.com/api/v1/videos/upload › from origin ‹ https://domain2.com › has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status.

Screenshot 2022-12-15 135807

You already asked for this problem here: Getting CORS error while uploading video using API jQuery
Please don’t open multiple threads for the same subject.

Can you please update any solutions for that?
Thank you.

Everything you need to know is in the first link I shared. I can’t see any easy solution that could be easily explained on a forum. You have to understand CORS to find how to do.

I know how to setup CORS and I did all the settings perfectly according to it.