Joining a programatically created meeting with Zoom SDK

Description
I have created a meeting using this api: https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate. I want to be able to now join that meeting using the zoom web SDK. Current meeting ID is 767491694. it works if I use my non-developer account to manually join via the zoom application, but not using the ZoomMtg.join method.

Error
When I try to join that meeting I receive the error Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT

Which Endpoint/s?
https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate

Screenshots (If applicable)

Hey @brandonin, thanks for posting and using Zoom!

What is the Zoom v1 API you are calling that shows an error in the console?

Also may I ask where you are located?

Thanks,
Tommy

Hey @tommy, I am located in San Francisco and actually using this function from the sample web app:

ZoomMtg.generateSignature({
        meetingNumber: meetConfig.meetingNumber,
        apiKey: meetConfig.apiKey,
        apiSecret: meetConfig.apiSecret,
        role: meetConfig.role,
        success(res) {
            console.log('signature', res.result);
            ZoomMtg.init({
                leaveUrl: 'http://www.zoom.us',
                success() {
                    ZoomMtg.join(
                        {
                            meetingNumber: meetConfig.meetingNumber,
                            userName: meetConfig.userName,
                            signature: res.result,
                            apiKey: meetConfig.apiKey,
                            userEmail: 'email@gmail.com',
                            passWord: meetConfig.passWord,
                            success() {
                                $('#nav-tool').hide();
                                console.log('join meeting success');
                            },
                            error(res) {
                                console.log(res);
                            }
                        }
                    );
                },
                error(res) {
                    console.log(res);
                }
            });
        }
    });
1 Like

Hey @tommy I solved it. I was accidentally referencing the wrong argument. Works now.

1 Like

Hey @brandonin,

Happy to hear you got it working! :slight_smile:

Thanks,
Tommy