Joining meeting timeout (react app)

Description
Here is the code on my component :
const meetConfig = {
meetingNumber: 123456789,
userName: “AhmedAlaa”,
passWord: 0,
leaveUrl: ‘URL’
}

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

    ZoomMtg.generateSignature({
      meetingNumber: meetConfig.meetingNumber,
      apiKey: API_KEY,
      apiSecret: API_SECRET,
      role: 1,
      success (res) {
        console.log('signature', res.result)
        ZoomMtg.init({
          leaveUrl: meetConfig.leaveUrl,
          disableCallOut: true,
          disableRecord: true,
          isSupportQA: false,
          isSupportCC: false,
          showPureSharingContent: false,
          screenShare: false,
          disableJoinAudio: false,
          audioPanelAlwaysOpen: false,
          isSupportChat: true,
          videoDrag: false,
          disableInvite: true,
          success () {
            ZoomMtg.join(
              {
                meetingNumber: meetConfig.meetingNumber,
                userName: meetConfig.userName,
                signature: res.result,
                apiKey: API_KEY,
                passWord: meetConfig.passWord,
                success () {
                  console.log('join meeting success')
                },
                error (res) {
                  console.log('Error generating signature')
                  console.log(res)
                }
              }
            )
          },
          error (res) {
            console.log(res)
          }
        })
      }
    })

Error

Which version?
1.7.5

Hey @Ahmed_Alaa,

Make sure you are using a valid meeting ID, and a JWT App type for the Key and Secret.

Thanks,
Tommy

It solveds by using valid meeting id
thank you

1 Like

Hey, I have the same issue. I cloned sample-app-web today and facing the same error as the screenshot above. How do I know which meetingId to put? Does the meeting have to be started elsewhere first?

Hello @nich


here you can schedule meeting and u will find meeting id you can generate new one or your personal meeting id
just take a look at the link and click on schedule a new meeting button

Hey @Ahmed_Alaa,

Thanks for providing a real meeting id! Glad you go it working! :slight_smile:

@nich, you will have to create and start a Zoom meeting first. You can do this with the Zoom app, the Zoom Web Portal, or the Create Meeting API.

Thanks,
Tommy