Invalid Parameter Error

Description
Invalid Parameter Error When i Test The Example Project
Errors
This error message from the Error Listener:

{details: 0, errorType: "ZoomVideoSDKError_Invalid_Parameter"}

Which React Native Video SDK version?
1.1.1
Video SDK Code Snippets
JWT Payload:

{
  "app_key": "SDK_KEY",
  "version": 1,
  "user_identity": "Test12345",
  "iat": 1643987313,
  "exp": 1644073550,
  "tpc": "Test Meeting"
}

Join Session Code:


     const token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBfa2V5IjoiUmZ0SEJieTlmMXFkdm5hWEdWNmc1S3QzWnFLWjhtT21ZVUhuIiwidmVyc2lvbiI6MSwidXNlcl9pZGVudGl0eSI6IlRlc3QxMjMiLCJpYXQiOjE2NDM5ODczMTMsImV4cCI6MTY0NDA3MzU1MCwidHBjIjoiVGVzdCBNZWV0aW5nIn0.2pEVElJV1FqaDxgzZjfouluPo4NIcGnFlkaTgKEPexM';

   try {     
        await zoom.joinSession({
          sessionName: 'Test Meeting',
          sessionPassword: 'Test123',
          token: token,
          userName: 'Ahmed',
          audioOptions: {
            connect: true,
            mute: false,
          },
          videoOptions: {
            localVideoOn: true,
          },
        });
      } catch (e) {
        console.log(e);
      }

To Reproduce
Steps to reproduce the behavior (in Example Project):

  1. Go to ‘Main Screen’
  2. Click on ‘Create Meeting or Join Meeting Buttons’
  3. Fill in Sessions Details
  4. Join Call Screen
  5. See error

Smartphones:

  • Device: iPhone 8 Plus
  • OS: iOS 14

and

  • Device: Realme 3
  • OS: Android 10

Note
This error shows in the example project and my current project i am working on also

Hi @Ahmed_Essam,

Based on the JWT you’ve provided, it seems that it hasn’t been signed with your SDK secret. Everything else looks correct, so once you sign it with the secret you should be all set!

Thanks!

Hi Jon,

Thanks for your response.

But i signed my jwt with my sdk secret

Here’s a screenshot from jwt.io

It says that my jwt signature is verified after adding the sdk secret

Please let me know if i am missing or misunderstood anything

Thanks.

Hi @Ahmed_Essam,

It looks like there may be a bug on jwt.io, but I was able to verify that what you are seeing is correct. Can you please provide the encrypted SDK logs so that we can investigate further?

Thanks!

This topic was automatically closed after 30 days. New replies are no longer allowed.