# Zoom VideoSDK Error\_Invalid\_Parameter

**URL:** <https://devforum.zoom.us/t/zoom-videosdk-error-invalid-parameter/63574>\
**Category:** React Native\
**Created:** [February 1, 2022, 8:07pm UTC](https://devforum.zoom.us/t/zoom-videosdk-error-invalid-parameter/63574 "2022-02-01T20:07:09Z")\
**Posts on this page:** 3\
**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 1, 2022, 8:07pm UTC](https://devforum.zoom.us/t/zoom-videosdk-error-invalid-parameter/63574/1 "2022-02-01T20:07:09Z")

</div>

**Description**  
I have initialized the SDK using ZoomVideoSdkProvider, when i try to join a meeting i get ZoomVideoSDKError\_Invalid\_Parameter  
**Errors**  
I have a listener to listen for error:

```auto
    const eventErrorListener = zoom.addListener(
      EventType.onError,
      async (error: any) => {
       
        switch (error.errorType) {
          case Errors.SessionJoinFailed:
          console.log('EventError', error);
            break;
          default:
        }
      },
    );

```

it consoles the following object:

```auto
{
  details: 0, 
  errorType: "ZoomVideoSDKError_Invalid_Parameter"
}

```

**Which React Native Video SDK version?**

> 1.1.1

**Video SDK Code Snippets**

JWT Payload:

```auto
{
  "user_identity": "2bn3S0MxzpIw7tV",
  "tpc": "Session Name",
  "exp": 1643828236,
  "iat": 1643745436,
  "app_key": "RftHBby9f1qdvnaXGV6g5Kt3ZqKZ8mOmYUHn",
  "version": 1
}

```

` const zoom = useZoom();`

Joining Session:

> try {  
> const token = '‘eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkZW50aXR5IjoiMmJuM1MwTXh6cEl3N3RWIiwidHBjIjoiU2Vzc2lvbiBOYW1lIiwiZXhwIjoxNjQzODI4MjM2LCJpYXQiOjE2NDM3NDU0MzYsImFwcF9rZXkiOiJSZnRIQmJ5OWYxcWR2bmFYR1Y2ZzVLdDNacUtaOG1PbVlVSG4iLCJ2ZXJzaW9uIjoxfQ.tnyNVhioNs2U9P1b2B6PAGpow9OvR7NZ9BQ5egAfYlU’
> 
> ```
> await zoom.joinSession({
> sessionName: 'Session Name',
> sessionPassword: '123456',
> token: token,
> userName: 'Ahmed',
> audioOptions: {
> connect: true,
> mute: false,
> },
> videoOptions: {
> localVideoOn: true,
> },
> });
> } catch (e) {
> console.log(e);
> }
> 
> ```

**Smartphone:**

- Device 1: [e.g. iPhone 8 plus],

- OS: [e.g. iOS 15]

- Device 2: [e.g. Realme 3],

- OS: [e.g. Android 10]

**Additional context**  
i am using the react native example call screen code

---

<div class="post-metadata">

**Author:** ![miwialex](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/miwialex/32/38305_2.png) [@miwialex](https://devforum.zoom.us/u/miwialex)\
**Post date:** [June 8, 2022, 4:13am UTC](https://devforum.zoom.us/t/zoom-videosdk-error-invalid-parameter/63574/2 "2022-06-08T04:13:39Z")

</div>

I am getting the same issue with my app currently. I am getting the same error, and I verified that my jwt tokens signature is verified with the secret. were you ever able to figure this out?

---

<div class="post-metadata">

**Author:** ![miwialex](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/miwialex/32/38305_2.png) [@miwialex](https://devforum.zoom.us/u/miwialex)\
**Post date:** [June 8, 2022, 2:00pm UTC](https://devforum.zoom.us/t/zoom-videosdk-error-invalid-parameter/63574/3 "2022-06-08T14:00:45Z")

</div>

as an update, I got this working. the `user_identify` field in the token was going over the 15 character limit
