# { "type": "INVALID\_PARAMETERS", "reason": "userId is not correct" }

**URL:** <https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522>\
**Category:** Meetings\
**Tags:** webinar, meeting-sdk, api, web-meeting-sdk\
**Created:** [October 18, 2022, 8:03am UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522 "2022-10-18T08:03:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![asifansari](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/asifansari/32/42274_2.png) [@asifansari](https://devforum.zoom.us/u/asifansari)\
**Post date:** [October 18, 2022, 8:03am UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522/1 "2022-10-18T08:03:17Z")

</div>

i am getting this error in console and screen goes blank with black bg-color ??  
{  
“type”: “INVALID\_PARAMETERS”,  
“reason”: “userId is not correct”  
}  
after join the meeting using meeting sdk ???  
help me to solve this issue  
integrating this using cdn link in php codeigniter

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 18, 2022, 4:58pm UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522/2 "2022-10-18T16:58:20Z")

</div>

@asifansari ,

Can you share a snippet (PII Omitted ) of the API request you are seeing this response with?

---

<div class="post-metadata">

**Author:** ![jimmy.usu2006](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jimmy.usu2006/32/54129_2.png) [@jimmy.usu2006](https://devforum.zoom.us/u/jimmy.usu2006)\
**Post date:** [November 29, 2023, 3:34am UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522/3 "2023-11-29T03:34:38Z")

</div>

I am having the same problem.

- I am able to successfully create a meeting with user\_id after retrieving from /users API. “id” field.
- I am passing that id to the signature creation.
- I am also passing to join meeting expecting if that works.

Besides all these I am still having this issue. Is that the reason , the video is frozen in embedded component view mode ?

Getting signature

```auto
 const responseFromSignatureEndpoint = await fetch(
        "http://localhost:8080/api/signature",
        {
          method: "POST",
          headers: { "Content-Type": "application/json" },
          body: JSON.stringify({
            meetingId: meetingId,
            role: role,
            userId: userId
          }),
        }
      );

```

Joining meeting As HOST:

```auto
client.init({zoomAppRoot: meetingSDKElement, language: 'en-US'}).then(() => {
      client.join({
          signature: sign,
          sdkKey: '<my_oauth_app_client_id>',
          meetingNumber: meetingId,
          password: meetingPassword,
          //userName: user_name,
          zak: zakToken, // the host's zak token
          userName: userId,
          success: (success) => {
            console.log("============= Zoom join success",success)
          },
          error: (errorMsg) => {
            console.log("============= Zoom join Error",errorMsg)
          },
        });
      }).catch((error) => {
        console.log("============= Zoom init error", error);
      })
    };

```

---

<div class="post-metadata">

**Author:** ![developer27](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developer27/32/54366_2.png) [@developer27](https://devforum.zoom.us/u/developer27)\
**Post date:** [November 29, 2023, 9:55am UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522/4 "2023-11-29T09:55:18Z")

</div>

can you please tell me from where I get userId ?

---

<div class="post-metadata">

**Author:** ![jimmy.usu2006](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jimmy.usu2006/32/54129_2.png) [@jimmy.usu2006](https://devforum.zoom.us/u/jimmy.usu2006)\
**Post date:** [November 30, 2023, 3:34am UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522/5 "2023-11-30T03:34:45Z")

</div>

Typically api/users is where we can get a list of userId and then choose one user that is needed.  
property: is “id”

```auto
{
    "page_count": 1,
    "page_number": 1,
    "page_size": 30,
    "total_records": 1,
    "next_page_token": "",
    "users": [
        {
            "id": "<userId here>",
            "first_name": "Fn",
            "last_name": "Ln",
            "display_name": "Display Name",

```

---

<div class="post-metadata">

**Author:** ![egitim](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/egitim/32/54845_2.png) [@egitim](https://devforum.zoom.us/u/egitim)\
**Post date:** [December 13, 2023, 4:29pm UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522/6 "2023-12-13T16:29:13Z")

</div>

Hello everyone,  
Is there any progress on this issue?  
This is a bit strange because this only applies when joining meeting As HOST.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 30, 2024, 10:17pm UTC](https://devforum.zoom.us/t/type-invalid-parameters-reason-userid-is-not-correct/77522/7 "2024-01-30T22:17:25Z")

</div>

@egitim,

Thank you for your contribution to the Zoom Developer Forum. Please be assured that the error message you mentioned does not affect the Meeting SDK. We understand that it can be alarming, and we’re in the process of addressing this on our end to prevent any confusion. Your feedback has been shared with our engineering team. If you encounter any other issues in the meantime, don’t hesitate to reach out. I am here to assist you.
