Issue with Joining Existing Zoom Meeting via Web SDK: User Redirected to Different Meeting

,

Hello,

I’m working on a Node.js application that integrates with Zoom to create meetings successfully. For the frontend, I’m using ReactJS with TypeScript and have added the @zoom/meetingsdk plugin to join an existing meeting. However, I’m encountering an issue: when I try to join a meeting with the Web SDK using the code below, the user seems to enter a different meeting from the one I intended.

Here’s the code snippet I’m using:

ZoomMtg.preLoadWasm()
ZoomMtg.prepareWebSDK()

ZoomMtg.generateSDKSignature({
  meetingNumber: meeting_number,
  role,
  sdkKey: import.meta.env.VITE_APP_ZOOM_CLIENT_ID,
  sdkSecret: import.meta.env.VITE_APP_ZOOM_CLIENT_SECRET,
  success: (signature: string) => {
    ZoomMtg.init({
      leaveUrl: leave_url,
      debug: process.env.NODE_ENV === 'development',
      patchJsMedia: true,
      success: () => {
        ZoomMtg.join({
          meetingNumber: meeting_number,
          signature,
          sdkKey: import.meta.env.VITE_APP_ZOOM_CLIENT_ID,
          userName: username,
          userEmail: email,
          passWord: password,

          success: () => {
            console.log('Joined successfully')
          },
          error: (error: unknown) => {
            console.log('Error joining ->', error)
          },
        })
      },
      error: () => {
        console.log('Error loading Zoom')
      },
    })
  },
})

Issue Details:

  • When joining the meeting through the API-generated URL, it works correctly, and the user connects to the expected meeting as if created from Zoom’s GUI.
  • However, when I try to join the same meeting via the frontend using the code above, the user appears to enter an entirely different meeting room.
  • I’ve verified that the meetingNumber, sdkKey, sdkSecret, and other required fields are correct.

Despite attempting various fixes, including regenerating the SDK keys and double-checking all environment variables, the issue persists.

Request for Help:

Is there any known issue with the SDK in terms of joining existing meetings, or is there a specific configuration or parameter I’m missing here to ensure the correct meeting room is accessed? Any guidance or troubleshooting tips would be greatly appreciated.

Thank you in advance for your assistance!

Hi,

Can you please share the parameters used for creating the meeting.

A POST request is made to the endpoint /users/{userId}/meetings with the following parameters:

{
    "agenda": "Meeting Title",
    "duration": 120,
    "settings": {
        "waiting_room": false,
        "breakout_room": {
            "enable": true,
            "rooms": [
                {
                    "name": "Room 1",
                    "participants": [
                        "mi36.mtx5@example.com",
                        "f0jd.90p6@example.com"
                    ]
                },
                {
                    "name": "Room 2",
                    "participants": [
                        "42d5.ly5n@example.com",
                        "7fub.9vri@example.com"
                    ]
                },
                {
                    "name": "Room 3",
                    "participants": [
                        "6m5e.gf2o@example.com",
                        "cyah.drxe@example.com"
                    ]
                }
            ]
        }
    },
    "start_time": "2024-11-04T18:00:00Z",
    "timezone": "America/Sao_Paulo",
    "topic": "My Meeting",
    "type": 2
}

After this, the API returns a response containing an id, join_url, and other details. When I access the meeting via the join_url, it opens without any issues. However, if I attempt to access it using the SDK, the mentioned error occurs.

Hi @dev.zoom.meetings ,

What are all the places you mention the meeting number while trying to join the meeting through the SDK? Which SDK are you using to join the meetings?

Thanks

1 Like

Hey sir can you please help me with manual verification of my domain

The SDK version I’m using is 3.9.2. To access the meeting via the SDK, I input the meeting ID in both generateSDKSignature and ZoomMtg.join, as shown in the attached image.

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