{type: ‘JOIN_MEETING_FAILED’, reason: ‘Fail to join the meeting.’, errorCode: 200}

I cannot connect anymore I keep getting the same message, it was working last year but not anymore this year. Signature seems fine but the error keeps popping and there is no clear message what is happening.

This is how I generate the token:

function generateSignature(clientID, clientSecret, meetingNumber, role) {
const iat = Math.floor(Date.now() / 1000);
const exp = iat + 60 * 60 * 2;
const oHeader = {alg: “HS256”, typ: “JWT”};

const oPayload = {
appKey: clientID,
mn: meetingNumber,
role: role,
iat: iat,
exp: exp,
tokenExp: exp,
video_webrtc_mode: 1,
};

const sHeader = JSON.stringify(oHeader);
const sPayload = JSON.stringify(oPayload);
return KJUR.jws.JWS.sign(“HS256”, sHeader, sPayload, clientSecret);
}

And this is how I join the meeting:

this.ngZone.runOutsideAngular(() => {
const meetingSDKElement = document.getElementById(‘meetingSDKElement’);
this.client.init({zoomAppRoot: meetingSDKElement, language: ‘en-US’, patchJsMedia: true, leaveOnPageUnload: true}).then(() => {
this.client.join({
signature: generatedToken,
meetingNumber: meeting.meeting,
password: meeting.info,
userName: currenUser?.displayName || ‘’,
userEmail: currenUser?.email || ‘’,
}).then(() => {
console.log(‘joined successfully’)
}).catch((error) => {
console.log(error)
})
}).catch((error) => {
console.log(error)
})
})

Nothing works, I tried with personal metting, development/production keys, nothing works.
Was working last year with previous sdk which does not work anymore.

No specific reason why it does not work, even contacted support but no help from them too.

Is it so bad implemented this zoom sdk?

If I use the old sdk version 3.13 I get another error:

polyfills.3ab2f3761085a9b30659.js:1 Unhandled Promise rejection: {reason: ‘PING_RWC_FAIL’, error: TypeError: Promise.any is not a function
at https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoom…}

joins the meeting but it does not show my camera