Getting error Uncaught TypeError: Cannot read properties of undefined (reading 'toString') after join meeting

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
1 Like

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

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

Thanks @DeniJSa .

Checkout my post in your other thread: Chrome browser 94 self video is not showing-Error - "framereader read null frame!" - #4 by tommy

-Tommy

Ok thanks, i already do that

1 Like

Thanks @DeniJSa ! :slight_smile:

-Tommy

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

Hey @ckarpyszyn ,

Thanks,
Tommy

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.

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. :slight_smile:

Thanks,
Tommy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.