{ "type": "INVALID_PARAMETERS", "reason": "userId is not correct" }

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

@asifansari ,

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

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

 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:

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);
      })
    };

can you please tell me from where I get userId ?

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

{
    "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",

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

@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.