Type: 'JOIN_MEETING_FAILED', reason: 'The meeting number is wrong.', errorCode: 3706


Description
I m trying to integrates zoom in my app, in order to practice I create the next repo

Browser Console Error
[Not the main problem]Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it’s running React 17.

Which Web Meeting SDK version?
@zoomus/websdk”: “^2.18.3”,

Meeting SDK Code Snippets
useEffect(() => {
const initializeZoom = async () => {
try {
const ZoomEmbed = (await import(‘@zoomus/websdk/embedded’)).default;
const client = ZoomEmbed.createClient();
const meetingSDKElement = document.getElementById(‘meetingSDKElement’);
// Add any additional logic for the client if needed
if (!meetingSDKElement) {
throw new Error(‘meetingSDKElement not found’);
}
client.init({
language: ‘es-ES’,
zoomAppRoot: meetingSDKElement
})

    const data = await fetch('/api/signature', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      body: JSON.stringify(payload),
    })
    const res = await data.json()

    client.join({
      meetingNumber: payload.meetingNumber,
      sdkKey: res.sdkKey,
      signature: res.signature,
      password: payload.password,
      userName: payload.userName,
      tk:''
    })
  } catch (error) {
    console.log('--Error inside useEffect--', error);
  }
};

initializeZoom();

}, );

Additional context
I checked if the JWT includes the meetingNumber, and it has
The meetingNumber is right and the sdkkey too

@fragilgon can you share a sample of your JWT token?

Is your meeting in string or integer format?
I usually put it as integer / number format

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