Meeting not started!

Hi There,

I have created meeting with this request

{
“topic”: “Another Test”,
“type”: 1,
“start_time”: “2019-07-16T07:50:50Z”,
“timezone”:“UTC”,
“settings”: {
“join_before_host”: true,
“approval_type”: 0
}
}

It created meeting successfully but when i try to join meeting it throw error
{method: “join”, status: false, errorCode: 3008, errorMessage: “Meeting not started!”, result: null}

My code for joining meeting

ZoomMtg.init({
leaveUrl: meetConfig.leaveUrl,
isSupportAV: true,
success: function () {
ZoomMtg.join(
{
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
signature: meetConfig.signature,
apiKey: meetConfig.apiKey,
userEmail: meetConfig.userEmail,
passWord: “”,
success: function(res){
$(’#meeting_card’).hide();
console.log(‘join meeting success’);
},
error: function(res) {
console.log(res);
}
}
);
},
error: function(res) {
console.log(res);
}
});

I don’t know what i am doing wrong.

Thanks,
Ritesh

Hey @danish, happy to help with this!

The issue is the meeting is not started.

"join_before_host": true only works with meeting "type" 2, 3, or 8. You are using "type":1.

To solve this, you have to start the meeting first OR set the meeting to type 2, 3, or 8.

27%20AM

36%20AM

Expand the schema to see more details here,

Let me know if this helps!

1 Like

Thanks for the response tommy. Is there any api in Web SDK to start meeting ? Or we need to start meeting using zoom url.

Thanks,
Ritesh

Hey @danish, happy to help!

You can start a meeting with the Web SDK.

To start a meeting with the sample web app follow these steps,

$ git clone https://github.com/zoom/sample-app-web.git
$ cd sample-app-web/CDN
$ npm install
$ npm run start

Enter your API_Key and API_Secret in the js/index.js file.

Change the role on the meetConfig object to 1 to start a meeting as a host.

Refresh your browser, and enter your meeting ID in the meeting number input and click the blue Join button. This will start your meeting via the Web SDK.

Let me know if this helps or if you have any other questions!

Thank you tommy for your response. It solved my problem.

2 Likes

You are welcome! Glad I could help!

1 Like

I have follow complete steps but still it is showing meeting id not found. I have also checked generated token all the values are correct. So what is the problem?

Hey @sarita.varlani,

Thank you for reaching out to the Zoom Developer Forum. Please submit a new topic for this including details on how you’re creating the meeting, any browser console errors and the meeting ID. This will help us to keep the solution focused on that topic.

Thanks,
Max