Meeting SDK Type and Version V2.17.0 client view
Share the Meeting SDK type and version you’re working with to give relevant context.
Description
I use zoom sdk for many years, today I upgrade sdk version from 2.12.0 to 2.17.0, and found there is a whiteboard feature, when I using whiteboard feature, I got many CORS errors
- add comment
- star whiteboard
- share whiteboard
- templates
my code:
this.joinMeetingPromise.then(response => {
const { signature, zoom_id, password, sdk_key } = response.data;
ZoomMtg.init({
leaveUrl: this.backUrl(),
isSupportAV: true,
isSupportPolling: false,
success: () => {
ZoomMtg.join({
signature: signature,
sdkKey: sdk_key,
meetingNumber: zoom_id,
userName: UserHelper.formatName(currentUser),
passWord: password || '',
error: () => {
this.resetZoomLayout();
},
success: () => {
this.resetZoomLayout();
this.addQaTest();
},
});
}
});
})
Error?
The full error message or issue you are running into, where applicable.
I can see error
Server Error
A server error occurred. Try again later or if error persists, Contact Us for help.
find error in console
Access to fetch at 'https://nws.zoom.us/nws/das/api/v3/templates?pageNumber=1&pageSize=125' from origin 'https://new.qa.apse1.edme.be' 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.
How To Reproduce
Steps to reproduce the behavior including:
1. Authentication method or app type
2. Any errors
3. Browser/client type and version
@zoomus/websdk: 2.17.0
react: 16.10.1
chrome: 117.0.5938.150
system: window 10
step:
1.open my app, create a meeing
2.join zoom meeting with web sdk client view in my app
3. share whiteboard
4. star whiteboard
5. open Templates
6. share this whiteboard
result
4. failed with CORS error
5.failed with CORS error
6.failed with CORS error