Init invalid parameter!

Using this template helps us debug your issues more effectively :slight_smile:

Description
When calling ZoomMtg.init I’m getting the error in the console “Init invalid parameter !!!”

Error
Init invalid parameter !!!

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

Which Endpoint/s?
source dot zoom dot us (I can’t post links for some reason)

How To Reproduce (If applicable)
I was able to reproduce this error using the zoom sample: GitHub - zoom/sample-app-web: Zoom Web SDK Sample App.

Also this code:

ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.9.1/lib’, ‘/av’);

        ZoomMtg.preLoadWasm();
        ZoomMtg.prepareJssdk();
        ZoomMtg.checkSystemRequirements();

ZoomMtg.init({
leaveUrl: leaveurl
success: function () {
console.log(“success”);
ZoomMtg.join({
signature: token,
meetingNumber: roomName,
userName: username,
apiKey: apikey,
success: (success) => {
console.log(success);
},
error: (error) => {
console.log(error);
}
});
},
error: function(res){
console.log(‘some error’, res);
}
});

Screenshots (If applicable)

Additional context

I’m not allowed to post links - so couldn’t put these in the post:

Hey @Paul5,

Thank you for reaching out to the Zoom Developer Forum. I tested this out on my end and wasn’t able to reproduce this behavior with the Sample Web App. I would make sure that the way you’re calling init and join matches what we have there:

If that isn’t helpful, please send an email to developersupport@zoom.us with a link to this thread. In that email, please include the parameters that you are using for the init() function as well as a screenshot of the error you’re seeing.

Thanks,
Max

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