Join video sdk session issue

This is my code :

const joinVideoRoom = (roomName, token,name,passcode) => {

var ZoomVid = ZoomVideo.createClient();

var stream;

ZoomVid.init(‘en-US’, ‘Global’, { patchJsMedia: true }).then(() => {
// Assuming ZoomVid.join returns a promise
ZoomVid.join(roomName, token,name ,passcode).then(() => {
console.log(“testing”);
stream = ZoomVid.getMediaStream();
console.log(“stream–>”, stream);
}).catch(error => {
console.error(“Error joining Zoom room:”, error);
});
}).catch(error => {
console.error(“Error initializing Zoom SDK:”, error);
})
};

error:
errorCode: 4003
reason: “Invalid Parameter”
type: “JOIN_MEETING_FAILED”

@nimesh ,

Could you share the values of the parameters which you are passing in here?

roomName, token,name,passcode)