{type: 'JOIN_MEETING_FAILED', reason: 'Fail to join the meeting.', errorCode: 200} errorCode : 200 reason : "Fail to join the meeting." type : "JOIN_MEETING_FAILED" [[Prototype]] : Object

import React from ‘react’;
import ‘./App.css’;
import ZoomMtgEmbedded from ‘@zoom/meetingsdk/embedded’;

function App() {

const client = ZoomMtgEmbedded.createClient();

var authEndpoint = ‘http://localhost:4000
var sdkKey = ‘uYWmXG1kRvCOA6oQyJhIA’
var meetingNumber = 82142336392
var passWord = ‘jFsq60’
var role = 1
var userName = ‘React’
var userEmail = ‘ajay.blackwolve@gmail.com’
// var registrantToken = ‘’
// var zakToken = ‘’

function getSignature(e) {
e.preventDefault();

fetch(authEndpoint, {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    meetingNumber: meetingNumber,
    role: role
  })
}).then(res => res.json())
.then(response => {
  startMeeting(response.signature)
}).catch(error => {
  console.error(error)
})

}

function startMeeting(signature) {

let meetingSDKElement = document.getElementById('meetingSDKElement');

client.init({zoomAppRoot: meetingSDKElement, language: 'en-US', patchJsMedia: true}).then(() => {
  client.join({
    signature: signature,
    sdkKey: sdkKey,
    meetingNumber: meetingNumber,
    password: passWord,
    userName: userName,
    userEmail: userEmail,
    // tk: registrantToken,
    // zak: zakToken
  }).then(() => {
    console.log('joined successfully')
  }).catch((error) => {
    console.log(error)
  })
}).catch((error) => {
  console.log(error)
})

}

return (



Zoom Meeting SDK Sample React

    {/* For Component View */}
    <div id="meetingSDKElement">
      {/* Zoom Meeting SDK Component View Rendered Here */}
    </div>

    <button onClick={getSignature}>Join Meeting</button>
  </main>
</div>

);
}

export default App;

@ajay.blackwolve can you share the JWT Token / Auth Signature you are using?

Have you fixed the issue.
I face the same issue when join other people meeting (other people create a meeting then I join it)
The issue doesn’t happen when I create a meeting and use that number.
@chunsiong.zoom Could you please help with that.
I’m using the component view from sample meetingsdk-react-sample and didn’t change anything.
This is my config code

@nmaddp199599 you might want to start a new thread as this might not be the same issue,

If you have problem joining external meetings, there is a high chance they this is due to unpublishing general / meeting SDK app.

General Apps or Meeting SDK Apps which are unpublished can only join meeting which are created by internal users. Any attempts to join externally created meeting will fail.