# How can client detect the meeting password is invalid?

**URL:** <https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936>\
**Category:** Windows\
**Created:** [November 25, 2020, 7:55pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936 "2020-11-25T19:55:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjd](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rjd](https://devforum.zoom.us/u/rjd)\
**Post date:** [November 25, 2020, 7:55pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/1 "2020-11-25T19:55:57Z")

</div>

I tested the SDK behavior for invalid meeting password. I didn’t get MEETING\_STATUS\_FAILED with MEETING\_FAIL\_PASSWORD\_ERR reason code. Instead, I saw the following status callback:  
MEETING\_STATUS\_CONNECTING  
MEETING\_STATUS\_DISCONNECTING  
MEETING\_STATUS\_ENDED with reason 0

**Which version?**  
v5.2.42037.1112

---

<div class="post-metadata">

**Author:** ![PantherDeveloper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pantherdeveloper/32/19077_2.png) [@PantherDeveloper](https://devforum.zoom.us/u/PantherDeveloper)\
**Post date:** [November 25, 2020, 8:04pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/2 "2020-11-25T20:04:33Z")

</div>

Hi @rjd

Thank you for using the dev forum!

If I read correctly, you want to know how the zoom meeting password is invalid? The way that you can know is when you go into the zoom app, you put the correct Meeting Code. Zoom will then take you you the password. If you type it wrong, it will not let you enter the meeting because there is no meeting with that password.  
Hope this help,  
Gabe  
@PantherDeveloper

---

<div class="post-metadata">

**Author:** ![rjd](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rjd](https://devforum.zoom.us/u/rjd)\
**Post date:** [November 25, 2020, 8:24pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/3 "2020-11-25T20:24:54Z")

</div>

Hi @PantherDeveloper, I need a way to detect it programmatically from Zoom Windows SDK. I doesn’t look like the SDK calls IMeetingServiceEvent::onMeetingStatusChanged with the expected status code.

---

<div class="post-metadata">

**Author:** ![PantherDeveloper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pantherdeveloper/32/19077_2.png) [@PantherDeveloper](https://devforum.zoom.us/u/PantherDeveloper)\
**Post date:** [November 25, 2020, 8:26pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/4 "2020-11-25T20:26:45Z")

</div>

Thanks for responding @rjd

Have you tried to update zoom to 1.8.3? This might help.

Thanks,  
Gabe  
@PantherDeveloper

---

<div class="post-metadata">

**Author:** ![rjd](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rjd](https://devforum.zoom.us/u/rjd)\
**Post date:** [November 25, 2020, 8:39pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/5 "2020-11-25T20:39:26Z")

</div>

@PantherDeveloper, I am not sure about version 1.8.3. I am using the latest SDK from [https://github.com/zoom/zoom-sdk-windows/releases](https://github.com/zoom/zoom-sdk-windows/releases)

---

<div class="post-metadata">

**Author:** ![PantherDeveloper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pantherdeveloper/32/19077_2.png) [@PantherDeveloper](https://devforum.zoom.us/u/PantherDeveloper)\
**Post date:** [November 25, 2020, 8:41pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/6 "2020-11-25T20:41:58Z")

</div>

Hi @rjd

Thank for responding.

> [@rjd](#):
>
> @PantherDeveloper, I am not sure about version 1.8.3. I am using the latest SDK from [https://github.com/zoom/zoom-sdk-windows/releases](https://github.com/zoom/zoom-sdk-windows/releases)

I might have to look on my windows and see if I get the same problem as you. I will respong back as soon as possible!

Gabe  
@PantherDeveloper

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 3, 2020, 3:50pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/7 "2020-12-03T15:50:46Z")

</div>

Hey @rjd

Thanks for using the dev forum!

Hmm that does not sound like expected behavior. Can you share your join/start meeting code, so that I can talk with the team about this issue?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![rjd](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rjd](https://devforum.zoom.us/u/rjd)\
**Post date:** [December 7, 2020, 7:23pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/8 "2020-12-07T19:23:23Z")

</div>

Hi @Michael_Condon,

Thank you for reply. The follow is the code snippet for joining the meeting:

```auto
    ZOOM_SDK_NAMESPACE::JoinParam params;
    params.userType = ZOOM_SDK_NAMESPACE::SDK_UT_WITHOUT_LOGIN;
    auto &api_user_params = params.param.withoutloginuserJoin;
    api_user_params.meetingNumber = _atoi64(meeting_id_.c_str());
    api_user_params.isDirectShareDesktop = false;
    api_user_params.isVideoOff = true;
    api_user_params.isAudioOff = true;
    api_user_params.psw = meeting_password_.c_str();
    api_user_params.userZAK = sdk_user_zak_.c_str();
    api_user_params.userName = user_name_.c_str();

    ZOOM_SDK_NAMESPACE::CreateMeetingService(&meeting_service_)
    meeting_service_->Join(join);

```

Thanks

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 17, 2020, 10:25pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/9 "2020-12-17T22:25:21Z")

</div>

Hey @rjd,

Are you receiving the same error when you try to join a meeting without using a ZAK?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![rjd](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rjd](https://devforum.zoom.us/u/rjd)\
**Post date:** [December 17, 2020, 11:25pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/10 "2020-12-17T23:25:22Z")

</div>

It’s the same behavior with or without ZAK. I also noticed a slight difference between the following two scenarios

1. provide empty password for meeting with password enabled:  
We received “connecting”, “disconnecting” and “ended with reason 0” events within a 200~300 ms window.

2. provide incorrect password for meeting with password enabled:  
We received only the “connecting” event. We didn’t receive the other two. The SDK seems to hang somewhere.

---

<div class="post-metadata">

**Author:** ![gibron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gibron/32/37298_2.png) [@gibron](https://devforum.zoom.us/u/gibron)\
**Post date:** [February 22, 2024, 7:23pm UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/11 "2024-02-22T19:23:10Z")

</div>

Having the same issue and wondering if and how you solved it?

And if anyone else might have an answer here. Seems like an open need.

---

<div class="post-metadata">

**Author:** ![asrivastava](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/asrivastava/32/49935_2.png) [@asrivastava](https://devforum.zoom.us/u/asrivastava)\
**Post date:** [September 19, 2024, 9:46am UTC](https://devforum.zoom.us/t/how-can-client-detect-the-meeting-password-is-invalid/36936/12 "2024-09-19T09:46:10Z")

</div>

Having the same issue with Linux SDK 6.1.10.1435 version  
SDK does not calls IMeetingServiceEvent::onMeetingStatusChanged with the expected status and result code.

last message received for status code MEETING\_STATUS\_CONNECTING and after that callback is not called again
