"Fail to join the meeting" (Error Code 1) in Zoom Web SDK

Description:
I am integrating the Zoom Web SDK (@zoomus/websdk version 2.18.3) into my web application, but I am encountering an issue where the join method fails with error code 1. The error response is as follows:

{
    "method": "join",
    "status": false,
    "result": null,
    "errorMessage": "Fail to join the meeting.",
    "errorCode": 1
}

Fetching Signature & Joining the Meeting

fetch("generate_signature.php", {
  method: "POST",
  body: JSON.stringify({ meetingData: meetConfig }),
})
  .then((result) => result.text())
  .then((response) => {
    console.log("Generated Signature:", response);

    ZoomMtg.init({
      leaveUrl: meetConfig.leaveUrl,
      isSupportAV: true,
      success: function () {
        ZoomMtg.join({
          signature: response,
          sdkKey: meetConfig.sdkKey,
          meetingNumber: meetConfig.meetingNumber,
          userName: meetConfig.userName,
          userEmail: meetConfig.userEmail,
          passWord: meetConfig.passWord,
          role: meetConfig.role,
          success: function () {
            console.log("Join meeting success");
          },
          error: function (err) {
            console.error("Join error:", err);
          },
        });
      },
    });
  });

Troubleshooting Steps Taken:

  1. Verified that the meeting number and password are correct.
  2. Ensured that the SDK Key used in meetConfig matches the one used to generate the signature.
  3. Checked that the meeting is started when trying to join as an attendee (role: 0).
  4. Logged the generated signature and it appears correctly formatted.
  5. Tried joining from another device, and the meeting works fine through Zoom’s native client.
  6. Verified that the Web SDK version (2.18.3) matches the version used in setZoomJSLib.
  7. Checked for CORS errors or API call failures, and all requests seem to be succeeding.

Questions:

  1. What does error code 1 specifically indicate in this context?
  2. Are there any additional debugging steps I should take to verify why ZoomMtg.join() is failing?
  3. How to resolve this issue.

Hi @abhishek3
Thanks for reaching out to us.
Make sure to update to the latest version of the meeting SDK for web and could you please try running our sample app to try and replicate this issue?

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