Response to preflight request doesn't pass access control check: No'Access-Control-Allow-Origin' header is present on the requested resource

Description
I need to implement the following:

  1. Get all users of zoom from within Salesforce’s visualforce page.
  2. Retrieve the meeting information for the past month for each user acquired in 1.
  3. Retrieve all participants in the meeting acquired in 2.

Currently, I am implementing 1 and the following error is displayed.

Access to XMLHttpRequest at'https://api.zoom.us/v2/users?page_number=1&page_size=300&status=active' from origin'https://c.cs6.visual.force.com' 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.

I searched for the cause of the error, but it seems that Zoom’s REST API cannot make requests from clients.
How should I implement 1,2,3?

Which App Type (OAuth / Chatbot / JWT / Webhook)?
REST API

Which Endpoint/s?
https://api.zoom.us/v2/

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body
  2. See error

Screenshots (If applicable)

Additional context
Add any other context about the problem here.

Hi @k010c1232,

Are you attempting to send this request from your frontend? If so, I should note that our APIs do not support this. Requests will need to be initiated from your backend.

Thanks,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.