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

**URL:** <https://devforum.zoom.us/t/response-to-preflight-request-doesnt-pass-access-control-check-noaccess-control-allow-origin-header-is-present-on-the-requested-resource/35164>\
**Category:** API and Webhooks\
**Created:** [November 5, 2020, 5:03am UTC](https://devforum.zoom.us/t/response-to-preflight-request-doesnt-pass-access-control-check-noaccess-control-allow-origin-header-is-present-on-the-requested-resource/35164 "2020-11-05T05:03:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![k010c1232](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/k010c1232/32/18261_2.png) [@k010c1232](https://devforum.zoom.us/u/k010c1232)\
**Post date:** [November 5, 2020, 5:03am UTC](https://devforum.zoom.us/t/response-to-preflight-request-doesnt-pass-access-control-check-noaccess-control-allow-origin-header-is-present-on-the-requested-resource/35164/1 "2020-11-05T05:03:23Z")

</div>

**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.

```auto
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/](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.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 5, 2020, 9:29pm UTC](https://devforum.zoom.us/t/response-to-preflight-request-doesnt-pass-access-control-check-noaccess-control-allow-origin-header-is-present-on-the-requested-resource/35164/2 "2020-11-05T21:29:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 6, 2020, 7:29am UTC](https://devforum.zoom.us/t/response-to-preflight-request-doesnt-pass-access-control-check-noaccess-control-allow-origin-header-is-present-on-the-requested-resource/35164/3 "2020-12-06T07:29:53Z")

</div>

Closed on December 6, 2020, 7:29am UTC

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