Joining Meeting Time Out “Invalid Parameter” error

I am getting same “Invalid Parameter” error when trying to join the meeting with MeetingId and Password via a sample app provided in SDK.

Greetings and Welcome, @gopinathangopika94,

Can you share more details regarding the SDK you are using? Also, please share the SDK version and specify whether you are using the Client and Component view.

version of SDK is v5.11.1.6653. Actually i used the app market place to create the SDk and JWT.and used the below code to integrate the same in my project.
window.addEventListener(‘DOMContentLoaded’, function(event) {
console.log(‘DOM fully loaded and parsed’);
websdkready();
});

function websdkready() {
var testTool = window.testTool;
if (testTool.isMobileDevice()) {
vConsole = new VConsole();
}
console.log(“checkSystemRequirements”);
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

// it’s option if you want to change the WebSDK dependency link resources. setZoomJSLib must be run at first
// if (!china) ZoomMtg.setZoomJSLib(‘https://source.zoom.us/2.5.0/lib’, ‘/av’); // CDN version default
// else ZoomMtg.setZoomJSLib(‘https://jssdk.zoomus.cn/2.5.0/lib’, ‘/av’); // china cdn option
// ZoomMtg.setZoomJSLib(‘http://localhost:9999/node_modules/@zoomus/websdk/dist/lib’, ‘/av’); // Local version default, Angular Project change to use cdn version
ZoomMtg.preLoadWasm(); // pre download wasm file to save time.

var SDK_KEY = “J7HTxJAkRhKke_Dtx-mINQ”;
/**

  • NEVER PUT YOUR ACTUAL SDK SECRET IN CLIENT SIDE CODE, THIS IS JUST FOR QUICK PROTOTYPING
  • The below generateSignature should be done server side as not to expose your SDK SECRET in public
  • You can find an eaxmple in here: Zoom Meeting Web SDK
    */
    var SDK_SECRET = “iUoDA3mgUbsTYUMhvkBbCstq07Dd1EXX3Yk2”;

// some help code, remember mn, pwd, lang to cookie, and autofill.
document.getElementById(“display_name”).value =
“CDN” +
ZoomMtg.getJSSDKVersion()[0] +
testTool.detectOS() +
“#” +
testTool.getBrowserInfo();
document.getElementById(“meeting_number”).value = testTool.getCookie(
“meeting_number”
);
document.getElementById(“meeting_pwd”).value = testTool.getCookie(
“meeting_pwd”
);
if (testTool.getCookie(“meeting_lang”))
document.getElementById(“meeting_lang”).value = testTool.getCookie(
“meeting_lang”
);

document
.getElementById(“meeting_lang”)
.addEventListener(“change”, function (e) {
testTool.setCookie(
“meeting_lang”,
document.getElementById(“meeting_lang”).value
);
testTool.setCookie(
“_zm_lang”,
document.getElementById(“meeting_lang”).value
);
});
// copy zoom invite link to mn, autofill mn and pwd.
document
.getElementById(“meeting_number”)
.addEventListener(“input”, function (e) {
var tmpMn = e.target.value.replace(/([^0-9])+/i, “”);
if (tmpMn.match(/([0-9]{9,11})/)) {
tmpMn = tmpMn.match(/([0-9]{9,11})/)[1];
}
var tmpPwd = e.target.value.match(/pwd=([\d,\w]+)/);
if (tmpPwd) {
document.getElementById(“meeting_pwd”).value = tmpPwd[1];
testTool.setCookie(“meeting_pwd”, tmpPwd[1]);
}
document.getElementById(“meeting_number”).value = tmpMn;
testTool.setCookie(
“meeting_number”,
document.getElementById(“meeting_number”).value
);
});

document.getElementById(“clear_all”).addEventListener(“click”, function (e) {
testTool.deleteAllCookies();
document.getElementById(“display_name”).value = “”;
document.getElementById(“meeting_number”).value = “”;
document.getElementById(“meeting_pwd”).value = “”;
document.getElementById(“meeting_lang”).value = “en-US”;
document.getElementById(“meeting_role”).value = 2;
window.location.href = “index.html”;
});

// click join meeting button
document
.getElementById(“join_meeting”)
.addEventListener(“click”, function (e) {
e.preventDefault();
var meetingConfig = testTool.getMeetingConfig();
if (!meetingConfig.mn || !meetingConfig.name) {
alert(“Meeting number or username is empty”);
return false;
}

  testTool.setCookie("meeting_number", meetingConfig.mn);
  testTool.setCookie("meeting_pwd", meetingConfig.pwd);

  var signature = ZoomMtg.generateSDKSignature({
    meetingNumber: meetingConfig.mn,
    sdkKey: SDK_KEY,
    sdkSecret: SDK_SECRET,
    role: meetingConfig.role,
    success: function (res) {
      console.log(res.result);
      meetingConfig.signature = res.result;
      meetingConfig.sdkKey = SDK_KEY;
      var joinUrl = "meeting.html?" + testTool.serialize(meetingConfig);
      console.log(joinUrl);
      window.open(joinUrl, "_blank");
    },
  });
});

function copyToClipboard(elementId) {
var aux = document.createElement(“input”);
aux.setAttribute(“value”, document.getElementById(elementId).getAttribute(‘link’));
document.body.appendChild(aux);
aux.select();
document.execCommand(“copy”);
document.body.removeChild(aux);
}

// click copy jon link button
window.copyJoinLink = function (element) {
var meetingConfig = testTool.getMeetingConfig();
if (!meetingConfig.mn || !meetingConfig.name) {
alert(“Meeting number or username is empty”);
return false;
}
var signature = ZoomMtg.generateSDKSignature({
meetingNumber: meetingConfig.mn,
sdkKey: SDK_KEY,
sdkSecret: SDK_SECRET,
role: meetingConfig.role,
success: function (res) {
console.log(res.result);
meetingConfig.signature = res.result;
meetingConfig.sdkKey = SDK_KEY;
var joinUrl =
testTool.getCurrentDomain() +
“meeting.html?” +
testTool.serialize(meetingConfig);
document.getElementById(‘copy_link_value’).setAttribute(‘link’, joinUrl);
copyToClipboard(‘copy_link_value’);

  },
});

};

}

any updates regaring this issue