cancel
Showing results for 
Search instead for 
Did you mean: 
Important updates from Zoom Support:
  • Effective immediately, customers with subscription plans greater than $10 USD/month may receive live chat support. Sign in and visit our contact page to view your support options.

  • Starting February 1, 2025, Zoom Phone customers must add their phone numbers to an approved 10DLC campaign in order to keep using SMS/MMS capabilities on their numbers.

Zoom Web SDK whiteboard file upload

mghz26
Newcomer
Newcomer

Whiteboard in Zoom Web SDK throws the following CORS error on file upload

Access to fetch at 'https://nws.zoom.us/nws/das/api/v1/documents/XX/upload?name=360_F_159183621_0YTKAAqAA7GI7DlCBfYJ2wfK...' from origin 'http://localhost:3001' 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.

=============

zoomus/websdk: v2.17.0
node: v18.13.0
react: v18.2.0
1 REPLY 1

BakerHe
Community Champion | Employee
Community Champion | Employee

As I know, we can't access zoom whiteboard api from localhost. It's blocked by browser CORS policy. 

 

Try this to bypass this limitation (for development only)https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome