WebSdk 1.7.0 Joining fail error message when trying to join a meeting

Hi Guys,

I am developing a web app and want people to join a meeting using my react web app.
I have created a JWT app. But every time I try to connect from react web app to join the meeting, I keep on getting this error message: “Joining fail”
{
method: “join”,
status: false,
errorCode: 1,
errorMessage: “joining fail”,
result: null
}

I have activated Zoom for developers and I am using websdk 1.7.0. I am currently using free account for testing.

import { ZoomMtg } from '@zoomus/websdk';

console.log('checkSystemRequirements');
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

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

ZoomMtg.setZoomJSLib('https://source.zoom.us/1.7.0/lib', '/av');

const API_KEY = 'xxxx';
const API_SECRET = 'xxxx';
const MEETING_NUMBER = 'xxx-xxx-xxxx';
const USERNAME = 'Test';

const meetConfig = {
  apiKey: API_KEY,
  apiSecret: API_SECRET,
  meetingNumber: MEETING_NUMBER,
  userName: USERNAME,
  passWord: '',
  leaveUrl: 'zoom_us_link',
  role: 0
};

ZoomMtg.generateSignature({
  meetingNumber: meetConfig.meetingNumber,
  apiKey: meetConfig.apiKey,
  apiSecret: meetConfig.apiSecret,
  role: meetConfig.role,
  success(res) {
    console.log('signature', res.result);
    ZoomMtg.init({
      leaveUrl: 'zoom_us_link',
      success() {
        ZoomMtg.join(
          {
            meetingNumber: meetConfig.meetingNumber,
            userName: meetConfig.userName,
            signature: res.result,
            apiKey: meetConfig.apiKey,
            userEmail: 'xxx@gmail.com',
            passWord: meetConfig.passWord,
            success() {
              console.log('join meeting success');
            },
            error(res) {
              console.log(res);
            }
          }
        );
      },
      error(res) {
        console.log(res);
      }
    });
  }
});

Thank you in advance!

Hey @jayeshsukenkar,

What are value are you using for the MEETING_NUMBER? Make sure it is a real meetingID without dashes.

Thanks,
Tommy

Hello @tommy,

I am using free account.
I am facing the same issue as mentioned above. Code is also same. I am using JWT credentials and using real meeting id.
What I have to pass for username & userEmail?
Please help me to resolve this issue

Hey @soniya.agrawal,

You will need to update your account to at least Pro. Developing with the Zoom Web SDK requires Pro or above.

Once you upgrade, try again.

Thanks,
Tommy

Thanks @tommy
I just need this feature for demo presentation. I read in many of the post that we can use free trial account. Is this not possible at all without pro plan?

Hey @soniya.agrawal,

You can request a free trial here: isv@zoom.us, however, our ISV team has received a huge amount of enquires so if time is of the essence, it will be faster to upgrade.

Thanks,
Tommy

Thanks @tommy for the response

1 Like

Happy to help! :slight_smile:

-Tommy