Zoom Web SDK whiteboard file upload

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-01-30 11:48 PM
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.
=============
node: v18.13.0
react: v18.2.0
- Topics:
-
Other
-
Whiteboard Cloud Sharing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-03-15 03:12 PM - edited 2024-03-15 03:13 PM
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
