MobileRTC onMobileRTCAuthReturn [Error: Error: 11])

Meeting SDK Type and Version
zoom-sdk-ios-6.0.12.15920 and zoom-sdk-android-6.1.0.22534

Description

I updated (iOS and Android) SDK versions to the latest.
I followed Meeting SDK Auth link to generate JWT Token which is mandatory for zoom initialisation

In my app there are mainly two methods for meeting and joining.

  1. ZoomUs.initialize({
    jwtToken: jwttoken,
    iosAppGroupId: ‘group.com.tautmore.org’,
    iosScreenShareExtensionId: ‘com.tautmore.org.ScreenShare’,
    })

  2. const startMeeting = async () => {
    try {
    const joinMeetingResult = await ZoomUs.joinMeeting({
    autoConnectAudio: true,
    userName: `UserName,
    meetingNumber: 123456789,
    password: ‘B3NqhAVw00BY3q0hKevjOWzRVXUQm6.1’ || ‘’,
    noMeetingErrorMessage: true, // Set this to be able to show Alert.alert
    });
    console.log({ startMeetingResult });
    } catch (e) {
    Alert.alert(‘Error’, ‘Could not execute startMeeting’);
    console.error(‘ERR’, e);
    }
    };

After executing the app I am still getting errors like ( ZoomUs.initialize=> ', [Error: Error: 11])
Please help to fix the [Error: Error: 11] and generate JWT Token which is mandatory for Meeting SDK initialization.

Error?

  1. First Time:
    I tried all possible ways but getting two type of issues
    'ZoomUs.initialize=> ', [Error: Error: 11]

  2. Send time:
    @“Already initialize Zoom SDK successfully.”

Current JWT Token:
“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJIUzI1NiIsImFwcEtleSI6IkpXVCIsIm1uIjoiODE4MzkyMDQwMTAiLCJyb2xlIjowLCJpYXQiOjE3MjA1MTE3NzcsImV4cCI6MTcyMTIzMTc3NywidG9rZW5FeHAiOjE3MjEyMzE3Nzd9.MBs-wQ3k_4HtJ0aHu4CBV2eM_VME_YuVAq_97BPpsiE”

Troubleshooting Routes
I have also tried to run with the sample app(iOS and Android) provided in SDK but found the same error.

Please provide the solution for an Error.

thanks.

@sai1

your sdkKey and appKey are not correct. You need to put in the client ID.

iat and exp are also too far apart, they can only be a maximum of 2 days differences from iat and exp.

image