Can't Init Meeting

I’m initializing the meeting and on success it calls the success function and there it Joins the room but the join fails with Please Init Meeting First!

Here’s my code

 ZoomMtg.init({
        leaveUrl: meetConfig.leaveUrl,
        isSupportAV: true,
        disableInvite: true,
        debug: true,
        success: function () {
            ZoomMtg.join(
                {
                    meetingNumber: meetConfig.meetingNumber,
                    userName: meetConfig.userName,
                    signature: signature,
                    apiKey: meetConfig.apiKey,
                    userEmail: meetConfig.userName,
                    passWord: meetConfig.passwd,
                    showMeetingHeader: false,
                    success: function(res){
                        console.log('join meeting success');
                    },
                    error: function(res) {
                        console.log(res);
                        if(res.status == false) {
                            jQuery('.post-content').append('<h4>Meeting has not started yet. Please check back later.</h4>');
                            
                            setTimeout(function(){
	                            location.reload();
                            }, 60000);
                        }
                    }
                }
            );
        },
        error: function(res) {
            console.log(res);
        }
    });

Hi @steven,

What version of the JSSDK are you using?

Thanks

1.3.8

I’m also using this in Wordpress so I had to wrap the whole code in (function($) { … },

Hi @steven,

I talked with our Customer support, he mentioned that you were receiving a 3008 error. That error occurs with the meeting has no started[1].

Can you make sure that the host has started the meeting?
Also, what is in your meetingConfig, do you have the role set to 1 or 0?

[1] - https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/resource/error-codes

Role is 0 and meeting IS Started. Problem is that you guys use jquery with the $ and I use everything with jQuery.method

So the conflict is causing this issue. I’m trying to make this work in Wordpress

Hi @steven,

Does using JQeury.method work for you outside of using it within wordpress? We’ve tried on our end it didn’t have any issues.

Thanks