Start webinar from SDK with error "Meeting has not started"

Hi
I’m traying to start a webinar fom SDK. I’m using the SDK vertion 1.8.5.

This is may meetconfig
const meetConfig = {
apiKey: data.apiKey,
meetingNumber: ,
leaveUrl: “/Zoom/SairWebinar/” + idAction,
userName: data.name,
userEmail: data.email, // required
passWord: data.t, // if required
role: 1 // 1 for host; 0 for attendee
};

The email is the registration email where I created the webinar on the zoom website

and my code it’s:
fetch("/Zoom/GenerateSignature/" +, {
method: ‘POST’,
body: JSON.stringify({ meetingData: meetConfig })
})
.then(result => result.text())
.then(response => {
console.log(response);
// call the init method with meeting settings
ZoomMtg.init({
leaveUrl: meetConfig.leaveUrl,
isSupportAV: true,
// on success, call the join method
success: function () {
ZoomMtg.join({
signature: response,
apiKey: meetConfig.apiKey,
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
userEmail: meetConfig.userEmail,
passWord: meetConfig.passWord,
//role: meetConfig.role,
// on success, get the attendee list and verify the current user
success: function (res) {
console.log(“join meeting success”);
},
error: function (res) {
console.log(“ERRO!”);
console.log(res);
},
})
}
})
});
}

The SDK returns the following error:
Joining meeting timeout. Meeting has not started

what am i doing wrong?

Thanks

Hey @eventos.gestao,

Thank you for reaching out to the Zoom Developer Forum. Are you able to provide the signature that you’re using when you get this error? I’ll use that to investigate the issue further.

Thanks,
Max

Hi MaxM :slight_smile:
You spoke about the signature and I remembered that I also had to change the role there. :pensive:
I did so, but it continues to fail.

The webinar id is 94401024004 and the signature is

Thank :slight_smile:

Hey @eventos.gestao,

Thank you for providing additional information. Looking at the code and Webinar ID you provided, I’m not seeing anything that seems to be the cause. One thing I noticed is that the role field is commented out in your code but it sounds like you adjusted that to get the new error. Is that right?

From here, I would make sure that you’ve seen our documentation on Starting a Webinar from the Web SDK and also make sure that the code you’re using closely matches our Sample Web App.

Let me know if that helps.

Thanks,
Max

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