# I am getting this error "INVALID\_PARAMETERS" reason userId is not correct

**URL:** <https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170>\
**Category:** Web\
**Tags:** api\
**Created:** [May 10, 2023, 3:55pm UTC](https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170 "2023-05-10T15:55:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leelasai.epic](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/leelasai.epic/32/48384_2.png) [@leelasai.epic](https://devforum.zoom.us/u/leelasai.epic)\
**Post date:** [May 10, 2023, 3:55pm UTC](https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170/1 "2023-05-10T15:55:06Z")

</div>

I am started meet using  
this.client.join({  
signature: this.signature,  
sdkKey: this.sdkkey1,  
meetingNumber: this.meetingNumber,  
password: this.passWord,  
userName: this.userName,  
userEmail: this.userEmail,  
zak: this.zakToken,  
success:(res)=\>{  
console.log(res)  
},  
error:(res)=\>{  
console.log(res)  
},

```
});

```

successfully after meet started I am getting this error  
---- Unhandled Promise rejection: {type: ‘INVALID\_PARAMETERS’, reason: ‘userId is not correct’}reason: "userId is not correct"type: “INVALID\_PARAMETERS”[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ ()valueOf: ƒ valueOf() **defineGetter** : ƒ **defineGetter** () **defineSetter** : ƒ **defineSetter** () **lookupGetter** : ƒ **lookupGetter** () **lookupSetter** : ƒ **lookupSetter** () **proto** : (…)get **proto** : ƒ **proto** ()set **proto** : ƒ **proto** () ; Zone: ; Task: HTMLUnknownElement.addEventListener:react-invokeguardedcallback ;  
immediately after that When I am trying to minimized or active the meeting window I am getting the same error .Can you please help me out of this.

Thanks In Advance .

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 11, 2023, 11:05pm UTC](https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170/2 "2023-05-11T23:05:58Z")

</div>

I’ll ping you directly to troubleshoot with your JWT token

---

<div class="post-metadata">

**Author:** ![leelasai.epic](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/leelasai.epic/32/48384_2.png) [@leelasai.epic](https://devforum.zoom.us/u/leelasai.epic)\
**Post date:** [May 12, 2023, 2:31am UTC](https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170/3 "2023-05-12T02:31:57Z")

</div>

I am not using JWT token I am using only Oauth token and Zakkey and meetingsdk keys.As u know After September 1, 2023, we will no longer be allowed to interact with Zoom systems via the JWT app so I am not using this .

Thanks for your response !

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 12, 2023, 2:52am UTC](https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170/4 "2023-05-12T02:52:27Z")

</div>

JWT Token is the standard used to authenticate Meeting SDK.

It is often confused with JWT App Type, which refers to the App Type deprecating in 1st Sep 2023.

When putting in your clientID and clientSecret into the javascript code, there is a function (generateSignature) which uses the clientID and clientSecret to sign a JWT token.

---

<div class="post-metadata">

**Author:** ![ritesh.kumar](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@ritesh.kumar](https://devforum.zoom.us/u/ritesh.kumar)\
**Post date:** [May 30, 2023, 11:06am UTC](https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170/5 "2023-05-30T11:06:04Z")

</div>

but it is happening with

> @zoomus/websdk": “^2.12.2”

```auto
ZoomMtg.init({
                leaveUrl: this.leaveUrl,
                isSupportAV: true,
                success: (success) => {
                    console.log(success);
                    ZoomMtg.join({
                        signature: signature,
                        meetingNumber: this.zoomMeetingId,
                        userName: this.loggedInUser.firstName,
                        sdkKey: this.sdk_key,
                        passWord: this.zoomPasscode,
                        success: (success) => {
                            console.log('--> Success Joining zoom', success);
                        },
                        error: (error) => {
                            console.log('--> Error Joining zoom', error);
                        },
                    });
                },
                error: (error) => {
                    console.log('--> error init zoom', error);
                },
            });

```

The meeting is being joined but it is showing on Console.

---

<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:** [June 29, 2023, 9:06pm UTC](https://devforum.zoom.us/t/i-am-getting-this-error-invalid-parameters-reason-userid-is-not-correct/88170/6 "2023-06-29T21:06:43Z")

</div>

Closed on June 29, 2023, 9:06pm UTC

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