DeniJSa
(Deni)
1
Description
Getting error ** Uncaught TypeError: Cannot read properties of undefined (reading ‘toString’) after join meeting** after click join meeting
Error
Uncaught TypeError: Cannot read properties of undefined (reading ‘toString’) after join meeting
Which Web Meeting SDK version?
1.9.9
Screenshots
Device (please complete the following information):
- Device: HP Pavilion
- OS: win 10
- Browser: Google Chrome
- Browser Version 94
2 Likes
tommy
(Tommy Gaessler)
2
Hey @DeniJSa ,
Can you please share what you are passing in for your ZoomMtg.init and ZoomMtg.join functions?
(Please redact any sensitive info like meeting id, signature, and API Key.)
Thanks,
Tommy
DeniJSa
(Deni)
3
I’ve found the error when call api key from .env it’s return undefined,
i found another error when i call ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.9.9/lib’, ‘/av’); the request return error 403, Access Denied
tommy
(Tommy Gaessler)
4
DeniJSa
(Deni)
5
Ok thanks, i already do that
1 Like
ckarpyszyn
(Chris Karpyszyn)
7
One of our customers is having the same issue. Chrome 94. Windows 10. The same setup works for others outside of that user when logging in as them.
Uncaught TypeError: Cannot read properties of undefined (reading 'toString') zoom-meeting-1.9.8.min.js:2
ckarpyszyn
(Chris Karpyszyn)
9
ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.9.9/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK(['WebAssembly SIMD']);
ZoomMtg.init({
debug: true,
leaveUrl: 'leave.html',
meetingInfo: ['topic']
});
ZoomMtg.join({
meetingNumber: meetingNumber, //string
userName: userName, //string
userEmail: userEmail, //string
passWord: password, //string, meeting password
apiKey: apiKey, //string
signature: signature,
participantId: 'UUID',
success: function(res){
parent.postMessage({
type:"event.joinSuccess"
},"*");
},
error: function(res){
console.log("Join Meeting Error: ", res);
}
});
signature is: {apiKey}.{meetingNumber}.{DateTime.now().getTime() - 30000}.0.{secretHash}
Using the exact same login and values passed, it’s working for me but not for our client on another computer and network.
tommy
(Tommy Gaessler)
10
Hey @ckarpyszyn ,
The issue is you are passing in a participantId
key value pair to the ZoomMtg.join()
function.
I also suggest setting a full url as your leaveUrl
value. Example: https://yoursite.com/leave.html
.
https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#join
Let me know if that resolves the issue.
Thanks,
Tommy
system
(system)
Closed
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.