# Invalid Parameter Error

**URL:** <https://devforum.zoom.us/t/invalid-parameter-error/63803>\
**Category:** React Native\
**Created:** [February 4, 2022, 3:25pm UTC](https://devforum.zoom.us/t/invalid-parameter-error/63803 "2022-02-04T15:25:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Essam](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Ahmed\_Essam](https://devforum.zoom.us/u/Ahmed_Essam)\
**Post date:** [February 4, 2022, 3:25pm UTC](https://devforum.zoom.us/t/invalid-parameter-error/63803/1 "2022-02-04T15:25:11Z")

</div>

**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:

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

```

Join Session Code:

```auto

     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

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 4, 2022, 11:52pm UTC](https://devforum.zoom.us/t/invalid-parameter-error/63803/2 "2022-02-04T23:52:44Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Ahmed\_Essam](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Ahmed\_Essam](https://devforum.zoom.us/u/Ahmed_Essam)\
**Post date:** [February 5, 2022, 1:15am UTC](https://devforum.zoom.us/t/invalid-parameter-error/63803/3 "2022-02-05T01:15:38Z")

</div>

Hi Jon,

Thanks for your response.

But i signed my jwt with my sdk secret

Here’s a screenshot from [jwt.io](http://jwt.io)

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

 ![IMG_20220205_031057](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/2/02f863597dd7def922894274c2f10d721880e279.jpeg)

Please let me know if i am missing or misunderstood anything

Thanks.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 8, 2022, 10:43pm UTC](https://devforum.zoom.us/t/invalid-parameter-error/63803/4 "2022-02-08T22:43:01Z")

</div>

Hi @Ahmed_Essam,

It looks like there may be a bug on [jwt.io](http://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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 6, 2022, 3:25pm UTC](https://devforum.zoom.us/t/invalid-parameter-error/63803/5 "2022-03-06T15:25:27Z")

</div>

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