cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom Web SDK whiteboard file upload

mghz26
Listener

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
Attendee | Zoom Employee
Attendee | Zoom 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