Fetch APIs from null Origin Blocked by CORS Policy in JavaScript API calling

Description
I want to connect APIs using javascript, I tested it is working fine from postman but when try to use in javascript it gives below error.

Error (in Console)
Access to fetch at ‘https://api.zoom.us/v2/users’ from origin ‘null’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
It’s gives error before going to hit api url
https://api.zoom.us/v2/users

Hi @aakashp,

Our APIs need to be called from the client-side. If you try to call them from your frontend, you will run into errors.

Thanks,
Will

Client side you mean that backend(c#) or JavaScript?
We can only use JavaScript, Is there is any alternate way to get rid of this error?

Hey @aakashp,

By client-side I mean frontend/javascript.

Zoom API requests are intended to be server-to-server.

Thanks,
Will

Hi Will

Thanks for the update…

No problem, @aakashp. Glad I could help clarify.

Best,
Will