# CORS error when uploading a PDF to the Whiteboard, using the Meetings SDK WEB

**URL:** <https://devforum.zoom.us/t/cors-error-when-uploading-a-pdf-to-the-whiteboard-using-the-meetings-sdk-web/114911>\
**Category:** Meeting SDK\
**Created:** [August 2, 2024, 7:12pm UTC](https://devforum.zoom.us/t/cors-error-when-uploading-a-pdf-to-the-whiteboard-using-the-meetings-sdk-web/114911 "2024-08-02T19:12:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jgarcia](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jgarcia](https://devforum.zoom.us/u/jgarcia)\
**Post date:** [August 2, 2024, 7:12pm UTC](https://devforum.zoom.us/t/cors-error-when-uploading-a-pdf-to-the-whiteboard-using-the-meetings-sdk-web/114911/1 "2024-08-02T19:12:51Z")

</div>

I have succesfully integrated the Meeting SDK WEB and it is working great.  
The calls can be established and the whiteboard can be used.  
The problem arises when trying to upload a PDF file to the whiteboard. A message appears “Unable to upload file. Please try again”.  
Inspecting the network logs, it can be seen that a call to this endpoint is blocked by CORS  
`https://nws.zoom.us/nws/das/api/v1/documents/DXZv6Ze4TFKED1GHB308Pw/async/upload/embeddable`

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/f/7f1cf5f878b2840718b1a4603eedfc28b2141298.png)

I can verify by making the same call from outside the browser, that the response does not contain the Access-Control-Allow-Origin header, which would explain the error.  
Is this a bug or should I setup the allowed origins somewhere?

This does not happen when uploading images to the whiteboard, only with documents.

I tried enabling SharedArrayBuffer, but it makes no difference.

I see this post already reposting this issue, but it has no resolution.  
[https://devforum.zoom.us/t/zoom-web-sdk-whiteboard-file-upload/102881/12](https://devforum.zoom.us/t/zoom-web-sdk-whiteboard-file-upload/102881/12)

I tried updating to version 3.8.0 of the SDK, without success.

I would appreciate assistance.

---

_[View the full topic](https://devforum.zoom.us/t/cors-error-when-uploading-a-pdf-to-the-whiteboard-using-the-meetings-sdk-web/114911)._
