cancel
Showing results for 
Search instead for 
Did you mean: 
Effective January 9th, 2026 through January 22nd, 2026: The Zoom Community is currently in read-only mode with login disabled, to deliver you a new and improved community experience!

The site is still accessible to view, however, the ability to login, create content, or access your community account is temporarily unavailable. We appreciate your patience during this time. If seeking support, please browse existing community content or ask our Zoom Virtual Agent.

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