Error type: ‘JOIN_MEETING_FAILED’, reason: "This account does not exist or does not belong to you"

Hello Everyone,

Please help with my code.
while join meeting get “JOIN_MEETING_FAILED” error with respect this message “This account does not exist or does not belong to you”.

using below code i am generating signature.

try {
    const iat = Math.round(new Date().getTime() / 1000) - 30;
    const exp = iat + 60 * 60 * 2;
    const oHeader = { alg: 'HS256', typ: 'JWT' };
    let oPayload = {
        appKey: "MY_Client_ID",
        sdkKey: "MY_Client_ID",
        iat,
        exp,
        role: 1,
        tokenExp: exp
    };
    const sHeader = JSON.stringify(oHeader);
    const sPayload = JSON.stringify(oPayload);
    signature = KJUR.jws.JWS.sign('HS256', sHeader, sPayload, "MY_Client_Secret");
} catch (e) {
    console.error(e);
}


    await zmClient.join(topic, signature, name, password).catch((e) => {
      console.log(e);
    });

As per my knowledge and research, my JWT token is correct with the correct parameter.

@mohammad.asheef , do you have a sample of the JWT token?

And are you using the clientID + clientSecret in your Meeting SDK App Type?

Here is my generated JWT
“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJSUVVSWXZ3cVNuV1NpX2tmbjQyUVh3Iiwic2RrS2V5IjoiUlFVUll2d3FTbldTaV9rZm40MlFYdyIsInJvbGUiOjEsImlhdCI6MTY5MjYxMjE5OCwiZXhwIjoxNjkyNjE5Mzk4LCJ0b2tlbkV4cCI6MTY5MzU5NDU0MX0.fLplg1jnV_bnqHUiLPt7o_CvSVMhm4dCrwvu9jC0VKA”.

Yes, I am using Metting SDK App Type.

@mohammad.asheef ,

MeetingNumber is missing. This is needed if you are using web sdk
tokenExp is also different from exp. These 2 values should be identical

Hello @chunsiong.zoom ,

Here is my new Signature for join metting
“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJSUVVSWXZ3cVNuV1NpX2tmbjQyUVh3IiwibW4iOiI4OTUyNjU4ODgwMyIsInJvbGUiOjEsImlhdCI6MTY5MjY5ODk0MywiZXhwIjoxNjkyNzA2MTQzLCJhcHBLZXkiOiJSUVVSWXZ3cVNuV1NpX2tmbjQyUVh3IiwidG9rZW5FeHAiOjE2OTI3MDk3NDN9.FM_Y_V2UVvp_R7VTKxUZldO9zq3Yj9PqfgstNehJZeU”.

but now, I am facing this issue.

{type: ‘JOIN_MEETING_FAILED’, reason: ‘Not support start meeting via tokens’, errorCode: 200}.

import ZoomMtgEmbedded from ‘@zoomus/websdk/embedded’;
const client = ZoomMtgEmbedded.createClient();

    client.join({
        signature: "MY_SIGNATURE",
        sdkKey: "CLIENT_ID",
        meetingNumber: '89526588803',
        password: '',
        userName: 'Test',
        userEmail: '',
        tk: '',
        zak: "MY_ZAK"
    })

@mohammad.asheef ,

could you share what

  • version of the sdk you are using
  • Is the ZAK token a valid token obtain via S2S or OAuth for a host of the meeting
  • Is the host of the meeting (which you are trying to start), a user in your account, or is it an external account user?

Hii @chunsiong.zoom ,

Version of my sdk is v2.15.2.
My zak token created via OAuth for hosting meeting.

get zak token with this api :-
https://api.zoom.us/v2/users/me/token/?type=Zak
Or i am try with this url also
https://api.zoom.us/v2/users/me/Zak
Authorization Bearer MY_ACCESSTOKEN

generated access token via local test call back url.
i am using free plan , i haven’t any user now.

I have another question can we start meeting with Free Plan?

@mohammad.asheef ,

You can start a meeting with a free plan.
One thing to take note, is that for your JWT Token, you want to set role : 1 (which you already did)