# Join\_before host is not working if use\_pmi: false

**URL:** <https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521>\
**Category:** API and Webhooks\
**Created:** [July 8, 2020, 7:36am UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521 "2020-07-08T07:36:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![shanthi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shanthi/32/11266_2.png) [@shanthi](https://devforum.zoom.us/u/shanthi)\
**Post date:** [July 8, 2020, 7:36am UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/1 "2020-07-08T07:36:46Z")

</div>

i’m trying to create the meeting with use\_pmi as false in lower environments.If i try to join the meeting it is showing me that host needs to start the meeting but in create response join\_before host is true.If use\_pmi as true i’m able to join meeting directly.I have checked account level ,Group level settings join\_before host is true and it is locked but still i’m unable to join until host starts the meeting.

**Error**  
Please wait for the host to start this meeting

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Jwt

**How To Reproduce (If applicable)**  
**Request for create Meeting** :  
{  
“topic”: “Test Link”,  
“type”: 2,  
“start\_time”: “2020-07-08T01:00:00Z”,  
“settings”: {  
“use\_pmi”: false  
}  
}  
**Response for Create Meeting** :  
“host\_video”: true,  
“in\_meeting”: false,  
“join\_before\_host”: true

**Group level and Account level settings :**  
“schedule\_meeting”: {  
“host\_video”: true,  
“participant\_video”: true,  
“audio\_type”: “both”,  
“join\_before\_host”: true,  
“personal\_meeting”: true,  
“use\_pmi\_for\_schedule\_meetings”: false,  
“use\_pmi\_for\_instant\_meetings”: false,  
“force\_pmi\_jbh\_password”: true,  
“require\_password\_for\_scheduling\_new\_meetings”: true,  
“require\_password\_for\_scheduled\_meetings”: false,  
“require\_password\_for\_instant\_meetings”: false,  
“require\_password\_for\_pmi\_meetings”: “all”,  
“pstn\_password\_protected”: true,  
“mute\_upon\_entry”: true,  
“upcoming\_meeting\_reminder”: true,  
“embed\_password\_in\_join\_link”: true  
},

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5b26c6749753d7c99899d279046a8cb442e3d211.png)

**Additional context**

1. 
  - How it is allowing if use\_pmi is true?

2. 
  - Do i need to do any additional settings if use\_pmi value is false

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 10, 2020, 9:32pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/2 "2020-07-10T21:32:00Z")

</div>

Hey @shanthi,

> [@shanthi](#):
>
> **Response for Create Meeting** :  
> “host\_video”: true,  
> “in\_meeting”: false,  
> “join\_before\_host”: true

Do you have the full JSON response? If so, can you share it so I can debug the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![shanthi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shanthi/32/11266_2.png) [@shanthi](https://devforum.zoom.us/u/shanthi)\
**Post date:** [July 11, 2020, 3:37pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/3 "2020-07-11T15:37:50Z")

</div>

Hi @tommy

Below is the create meeting response  
{  
“created\_at”: “2020-07-11T15:31:55Z”,  
“duration”: 60,  
“encrypted\_password”: “XXXXXXXXXXXXXXX”,  
“h323\_password”: “XXXXXXX”,  
“host\_id”: “XXXXXXXXXXXXXXX”,  
“id”: XXXXXXXXXXXXXXX,  
“join\_url”: “[https://XXXXXXXXXXXXXXX.zoom.us/j/XXXXXXXXXXXXXXX?pwd=XXXXXXXXXXXXXXX](https://XXXXXXXXXXXXXXX.zoom.us/j/XXXXXXXXXXXXXXX?pwd=XXXXXXXXXXXXXXX)”,  
“password”: “XXXXXXX”,  
“pstn\_password”: “XXXXXXX”,  
“settings”: {  
“alternative\_hosts”: “”,  
“approval\_type”: 2,  
“audio”: “both”,  
“auto\_recording”: “none”,  
“close\_registration”: false,  
“cn\_meeting”: false,  
“enforce\_login”: false,  
“enforce\_login\_domains”: “”,  
“global\_dial\_in\_countries”: [  
“US”  
],  
“global\_dial\_in\_numbers”: [  
{  
“city”: “New York”,  
“country”: “US”,  
“country\_name”: “US”,  
“number”: “+1 XXXXXXXXXXXXXXX”,  
“type”: “toll”  
},  
{  
“city”: “San Jose”,  
“country”: “US”,  
“country\_name”: “US”,  
“number”: “+1 XXXXXXXXXXXXXXX”,  
“type”: “toll”  
}  
],  
“host\_video”: true,  
“in\_meeting”: false,  
“join\_before\_host”: true,  
“meeting\_authentication”: false,  
“mute\_upon\_entry”: true,  
“participant\_video”: true,  
“registrants\_confirmation\_email”: true,  
“registrants\_email\_notification”: true,  
“use\_pmi”: false,  
“waiting\_room”: true,  
“watermark”: false  
},  
“start\_time”: “2020-07-14T01:00:00Z”,  
“start\_url”: “[https://XXXXXXXXXXXXXXX.zoom.us/s/XXXXXXXXXXXXXXX?zak=XXXXXXXXXXXXXXX](https://XXXXXXXXXXXXXXX.zoom.us/s/XXXXXXXXXXXXXXX?zak=XXXXXXXXXXXXXXX)”,  
“status”: “waiting”,  
“timezone”: “America/Los\_Angeles”,  
“topic”: “Test Link”,  
“type”: 2,  
“uuid”: “XXXXXXXXXXXXXXX”  
}

---

<div class="post-metadata">

**Author:** ![shanthi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shanthi/32/11266_2.png) [@shanthi](https://devforum.zoom.us/u/shanthi)\
**Post date:** [July 13, 2020, 3:21pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/4 "2020-07-13T15:21:42Z")

</div>

Hello @tommy  
Due to waiting room settings it displayed host needs to start the meeting,so this issue is resolved.But still i have a doubt why i’m able to join the meeting if use\_pmi is true, waiting room is enabled,  
**choose which participants to place in the waiting room** :Everyone.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 16, 2020, 6:15pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/6 "2020-07-16T18:15:26Z")

</div>

Hey @shanthi,

Are you starting the meeting as a host? Or trying to join via the join\_url?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nitin.kulkarni](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nitin.kulkarni](https://devforum.zoom.us/u/nitin.kulkarni)\
**Post date:** [November 26, 2020, 11:22am UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/7 "2020-11-26T11:22:47Z")

</div>

Hey @tommy ,

facing the issue of “Waiting for host to start the meeting”.  
Steps followed

1. Created the meeting using API  
Request :  
{  
“topic”: “Daily Standup Meeting”,  
“type”: “2”,  
“start\_time”: “2020-11-26T11:00:00”,  
“duration”: “60”,  
“timezone”: “UTC”,  
“settings”: {  
“use\_pmi”: “false”,  
“waiting\_room”: “false”,  
“join\_before\_host”: “true”  
}  
}
2. With settings, Allow participants join before host-true and Waiting room-false

But when participants are trying to join

- Using meeting id, then it is giving error as “Waiting for the host to start the meeting”
- When trying to join using the complete meeting URL over web browser it allows to join

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 30, 2020, 6:54pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/8 "2020-11-30T18:54:33Z")

</div>

Hey @nitin.kulkarni,

Can you share the full request (URL and its _response_) with me here? I’m happy to take a closer look.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![connect1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/connect1/32/20417_2.png) [@connect1](https://devforum.zoom.us/u/connect1)\
**Post date:** [December 20, 2020, 4:36pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/9 "2020-12-20T16:36:36Z")

</div>

I also tried creating a meeting with “join\_before\_host” set to true, yet, I’m still getting the “Waiting for host to start this meeting” prompt when a user joins before the host. Below is my request code in JS.

```
          request
        .post(
          {
            url: `https://api.zoom.us/v2/users/${body.id}/meetings`,
            json: true,
            body: {
              type: 1,
              settings: {
                approval_type: 2,
                host_video: true,
                participant_video: true,
                join_before_host: true,
              },
            },
          },
          (error, response, body) => {
            console.log("error, response, body", error, body);
          }
        )
        .auth(null, null, true, access_token);

```

I also tried this body to no avail.

```
body: {
                  type: 1,
                  settings: {
                    join_before_host: true,
                  },
                },
```

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 22, 2020, 8:18pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/10 "2020-12-22T20:18:14Z")

</div>

Hey @connect1,

Thank you for reaching out to the Zoom Developer Forum. Please confirm that the Waiting Room setting is disabled for the meeting. This can be done either through the [Zoom Portal](https://support.zoom.us/hc/en-us/articles/115000332726-Waiting-Room) or the [Create a Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate). As we can see in the images below, having the Waiting Room enabled will override the Join Before Host setting.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/e/6e31dcaade919830f82db7bf473752f2c939108d.png)

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/f/bfc9691ab9cc1d40eeced300aeb16dc08dd685c5.png)

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![connect1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/connect1/32/20417_2.png) [@connect1](https://devforum.zoom.us/u/connect1)\
**Post date:** [December 24, 2020, 9:00pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/11 "2020-12-24T21:00:19Z")

</div>

@MaxM Yes, I’ve tried that. as well. Below is a portion of my request/response:

Request

```
                        approval_type: 2,
                        host_video: true,
                        participant_video: true,
                        join_before_host: true,
                        waiting_room: false,

```

Response

settings: {  
host\_video: false,  
participant\_video: false,  
cn\_meeting: false,  
in\_meeting: false,  
join\_before\_host: false,  
jbh\_time: 0,  
mute\_upon\_entry: false,  
watermark: false,  
use\_pmi: false,  
approval\_type: 2,  
audio: ‘voip’,  
auto\_recording: ‘none’,  
enforce\_login: false,  
enforce\_login\_domains: ‘’,  
alternative\_hosts: ‘’,  
close\_registration: false,  
show\_share\_button: false,  
allow\_multiple\_devices: false,  
registrants\_confirmation\_email: true,  
waiting\_room: false,  
request\_permission\_to\_unmute\_participants: false,  
registrants\_email\_notification: true,  
meeting\_authentication: false,  
encryption\_type: ‘enhanced\_encryption’,  
approved\_or\_denied\_countries\_or\_regions: { enable: false }  
}

Waiting\_room in the response is false, but join\_before\_host is false as well even though the request body includes. join\_before\_host. set to true.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 28, 2020, 8:32pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/12 "2020-12-28T20:32:30Z")

</div>

Hey @connect1,

Thank you for providing additional information. I just want to clarify that the request portion you sent is part of a `settings` object. Is that correct? Would you be able to provide the entire request that you’re using?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![nebal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nebal/32/10621_2.png) [@nebal](https://devforum.zoom.us/u/nebal)\
**Post date:** [March 20, 2021, 12:43am UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/13 "2021-03-20T00:43:12Z")

</div>

Hi,

if check the setting below of created meeting, but still the participant can join before the host. please help and advise.

Waiting Room: False  
Join Before Host: False  
Mute Upon Entry: True  
Auto Recording: none  
Host Video: True  
Participant Video: True

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 22, 2021, 5:39pm UTC](https://devforum.zoom.us/t/join-before-host-is-not-working-if-use-pmi-false/23521/14 "2021-03-22T17:39:40Z")

</div>

Hey @nebal,

Thank you for reaching out to the Zoom Developer Forum. Please provide the full request that you’re using to create these meetings as well as the response that you get from the API.

I’ll investigate this further with that information.

Thanks,  
Max
