# When creating a meeting some meetings return with approval 2

**URL:** <https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534>\
**Category:** API and Webhooks\
**Created:** [October 7, 2021, 1:26pm UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534 "2021-10-07T13:26:12Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pranay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pranay/32/31694_2.png) [@Pranay](https://devforum.zoom.us/u/Pranay)\
**Post date:** [October 7, 2021, 1:26pm UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/1 "2021-10-07T13:26:12Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
When creating a meeting some meetings return with approval 2. The funny part is using the same user id, some meetings return with approval type 0 and some with 2, however all requests sent were for approval type 0.

**Error**  
code":404,“message”:"Registration has not been enabled for this meeting: 96480257134.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
We are using JWT.

**Which Endpoint/s?**  
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**Additional context**  
The confusing part here is that the same code works for some meetings, but doesnt work for some meetings and the error comes randomly in any meeting.

This is the peace of code which I use for my create meeting request.

$body = ;

```
            $body['topic'] = "{$batch_details['batch']}" . (strlen($batch_details['branch_code']) > 0 ? "({$batch_details['branch_code']})" : "") . date("d-m-Y");

            $body['agenda'] = "{$batch_details['batch']}". (strlen($batch_details['branch_code']) > 0 ? "({$batch_details['branch_code']})" : "").",\nDate: " . date("d-m-Y");

            $body['duration'] = (strtotime(date('Y-m-d') . " " . $batch_details['end_time']) - strtotime(date('Y-m-d') . " " . $batch_details['start_time'])) / 60;

            $body['schedule_for'] = $batch_details['zoom_id'];

            $body['timezone'] = "Asia/Kolkata";

            $body['password'] = "";

            $body['start_time'] = date("c", strtotime(date('Y-m-d') . " " . $batch_details['start_time']));

            $body['settings'] = [

                "host_video"=>true,

                "participant_video"=>true,

                "join_before_host"=>false,

                "mute_upon_entry"=>false,

                "approval_type"=> 0,

                "meeting_authentication"=>false

            ];

            $response = $this->callAPI("POST", "https://api.zoom.us/v2/users/{$this->zoom_user['zoom_id']}/meetings", json_encode($body));

```

This is the response which I get for my create meeting request for some meetings.

Meeting created 2021-10-07 00:10:26, 2064  
{“uuid”:“SAvnnyFJTH+q43N5UDUJew==”,“id”:96480257134,“host\_id”:“CBAjyaxjSfaqg9zAt4DPiQ”,“host\_email”:“\*_ **hidden** _”,“assistant\_id”:“AnZYyK4qSBaSXos\_SbGohQ”,“topic”:“Online B27 Thur 5 - 6 Pm(B27)07-10-2021”,“type”:2,“status”:“waiting”,“start\_time”:“2021-10-07T11:30:00Z”,“duration”:60,“timezone”:“Asia/Kolkata”,“agenda”:“Online B27 Thur 5 - 6 Pm(B27),\nDate: 07-10-2021”,“created\_at”:“2021-10-06T18:49:25Z”,“start\_url”:“[Launch Meeting - Zoom](https://tickleright.zoom.us/s/96480257134?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6IkNCQWp5YXhqU2ZhcWc5ekF0NERQaVEiLCJpc3MiOiJ3ZWIiLCJzdHkiOjEwMCwid2NkIjoiYXcxIiwiY2x0IjowLCJtbnVtIjoiOTY0ODAyNTcxMzQiLCJzdGsiOiJEUmk2VDRnaU9nMnQwelcwazRRbWRYYU1sNHVTS3djdlpIOXhKWFlrMGxnLkJnWXNVMDFwY0V4VU5VdENkWEpxVmswMFZYaHZMMGRITDAxV1FsTnBka2xJWWt0WGJqVjZWa1JCWmpsSk9EMUFOR0V3T1RnM00yUTNaRGszT1dNek1UYzNOV1UyTldVM09EQTJOemhpTldFMk9ETmpPRGxtWXpjMFpEWXpNV0ZoWldSaVkyVTJabVpoTURJNVltTTFaUUFNY21Wc2NIaFhMMVZEWjBFOUFBTmhkekVBQUFGOFZ2QmZ1d0FTZFFBQUFBIiwiZXhwIjoxNjMzNTUzMzY2LCJpYXQiOjE2MzM1NDYxNjYsImFpZCI6Ikh5SzdYbUNBU0hTN0F5VVplUGhvR3ciLCJjaWQiOiIifQ.oCT0mCbE55O-eip5T27VTnXGfFpfsMphV-_tNAQmZMM%22,%22join_url%22:%22https://tickleright.zoom.us/j/96480257134%22,%22settings%22:%7B%22host_video%22:true,%22participant_video%22:true,%22cn_meeting%22:false,%22in_meeting%22:false,%22join_before_host%22:false,%22jbh_time%22:0,%22mute_upon_entry%22:false,%22watermark%22:false,%22use_pmi%22:false,%22approval_type%22:2,%22audio%22:%22both%22,%22auto_recording%22:%22cloud%22,%22enforce_login%22:false,%22enforce_login_domains%22:%22%22,%22alternative_hosts%22:%22%22,%22close_registration%22:false,%22show_share_button%22:false,%22allow_multiple_devices%22:false,%22registrants_confirmation_email%22:true,%22waiting_room%22:true,%22request_permission_to_unmute_participants%22:false,%22global_dial_in_countries%22:%5B%22US%22%5D,%22global_dial_in_numbers%22:%5B%7B%22country_name%22:%22US%22,%22city%22:%22Chicago%22,%22number%22:%22+1) 3126266799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Houston”,“number”:“+1 3462487799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“San Jose”,“number”:“+1 6699006833”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“New York”,“number”:“+1 9292056099”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Tacoma”,“number”:“+1 2532158782”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Washington DC”,“number”:“+1 3017158592”,“type”:“toll”,“country”:“US”}],“registrants\_email\_notification”:true,“meeting\_authentication”:false,“encryption\_type”:“enhanced\_encryption”,“approved\_or\_denied\_countries\_or\_regions”:{“enable”:false},“breakout\_room”:{“enable”:false},“alternative\_hosts\_email\_notification”:true,“device\_testing”:false},“pre\_schedule”:false}

Also I get another response for same code and request  
Meeting created 2021-10-07 07:10:01, 2064  
{“uuid”:“gKtVGZdqQSqAJfnz1egO6g==”,“id”:99867705910,“host\_id”:“CBAjyaxjSfaqg9zAt4DPiQ”,“host\_email”:“\*_ **hidden** _”,“assistant\_id”:“AnZYyK4qSBaSXos\_SbGohQ”,“topic”:“Online B27 Thur 5 - 6 Pm(B27)07-10-2021”,“type”:2,“status”:“waiting”,“start\_time”:“2021-10-07T11:30:00Z”,“duration”:60,“timezone”:“Asia/Kolkata”,“agenda”:“Online B27 Thur 5 - 6 Pm(B27),\nDate: 07-10-2021”,“created\_at”:“2021-10-07T02:14:01Z”,“start\_url”:“[Launch Meeting - Zoom](https://tickleright.zoom.us/s/99867705910?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6IkNCQWp5YXhqU2ZhcWc5ekF0NERQaVEiLCJpc3MiOiJ3ZWIiLCJzdHkiOjEwMCwid2NkIjoiYXcxIiwiY2x0IjowLCJtbnVtIjoiOTk4Njc3MDU5MTAiLCJzdGsiOiJQU2FlaG5GUjRGamRjSURyMjBtUXpVWERFUndSOVNBSDlSc0t2OFJaNmRjLkJnWXNVMDFwY0V4VU5VdENkWEpxVmswMFZYaHZMMGRITDAxV1FsTnBka2xJWWt0WGJqVjZWa1JCWmpsSk9EMUFOR0V3T1RnM00yUTNaRGszT1dNek1UYzNOV1UyTldVM09EQTJOemhpTldFMk9ETmpPRGxtWXpjMFpEWXpNV0ZoWldSaVkyVTJabVpoTURJNVltTTFaUUFNY21Wc2NIaFhMMVZEWjBFOUFBTmhkekVBQUFGOFdJZHBSd0FTZFFBQUFBIiwiZXhwIjoxNjMzNTgwMDQxLCJpYXQiOjE2MzM1NzI4NDEsImFpZCI6Ikh5SzdYbUNBU0hTN0F5VVplUGhvR3ciLCJjaWQiOiIifQ.4dyBRoJyX3WjVR7opDWj8BXGGHHPrA4I0GTPpepCLAc%22,%22join_url%22:%22https://tickleright.zoom.us/j/99867705910%22,%22registration_url%22:%22https://tickleright.zoom.us/meeting/register/tJ0lce6vrj4jG9SNqLiRAIJJER77PzAI2z7X%22,%22settings%22:%7B%22host_video%22:true,%22participant_video%22:true,%22cn_meeting%22:false,%22in_meeting%22:false,%22join_before_host%22:false,%22jbh_time%22:0,%22mute_upon_entry%22:false,%22watermark%22:false,%22use_pmi%22:false,%22approval_type%22:0,%22audio%22:%22both%22,%22auto_recording%22:%22cloud%22,%22enforce_login%22:false,%22enforce_login_domains%22:%22%22,%22alternative_hosts%22:%22%22,%22close_registration%22:false,%22show_share_button%22:true,%22allow_multiple_devices%22:true,%22registrants_confirmation_email%22:true,%22waiting_room%22:true,%22request_permission_to_unmute_participants%22:false,%22global_dial_in_countries%22:%5B%22US%22%5D,%22global_dial_in_numbers%22:%5B%7B%22country_name%22:%22US%22,%22city%22:%22Chicago%22,%22number%22:%22+1) 3126266799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Houston”,“number”:“+1 3462487799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“San Jose”,“number”:“+1 6699006833”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“New York”,“number”:“+1 9292056099”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Tacoma”,“number”:“+1 2532158782”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Washington DC”,“number”:“+1 3017158592”,“type”:“toll”,“country”:“US”}],“contact\_name”:“Batul Tickle Right”,“contact\_email”:“\*_ **hidden** _”,“registrants\_email\_notification”:true,“meeting\_authentication”:false,“encryption\_type”:“enhanced\_encryption”,“approved\_or\_denied\_countries\_or\_regions”:{“enable”:false},“breakout\_room”:{“enable”:false},“alternative\_hosts\_email\_notification”:true,“device\_testing”:false},“pre\_schedule”:false}

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 7, 2021, 3:20pm UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/2 "2021-10-07T15:20:34Z")

</div>

Hi @Pranay ,

This is documented behavior that our service engineers are currently investigating. I will find the ticket number for you and share here once I do.

Thanks!  
Gianni

---

<div class="post-metadata">

**Author:** ![Pranay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pranay/32/31694_2.png) [@Pranay](https://devforum.zoom.us/u/Pranay)\
**Post date:** [October 8, 2021, 6:10am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/3 "2021-10-08T06:10:40Z")

</div>

Hi @gianni.zoom ,  
Thankyou for the response, looking forward to a solution ASAP, as this is a very time critical issue for us.

---

<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:** [October 12, 2021, 10:05am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/4 "2021-10-12T10:05:23Z")

</div>

Hi @Pranay,

A fix is currently under way for this bug, and our team is hoping to have an update on release timing soon. In the meantime, please see this post for a workaround:

> [@Registration has not been enabled happening before meeting and dissappears at some point](https://devforum.zoom.us/t/registration-has-not-been-enabled-happening-before-meeting-and-dissappears-at-some-point/58427/2):
>
> Hey @raresmldvn31, Thank you for reaching out to the Zoom Developer Forum. This seems to be related to a known issue which our engineering team is investigating as a priority. Workaround In instances where you receive a 404/"registration not enabled for meeting \*\*\*\*\*." error, you can make a subsequent PATCH request to the [Update Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingupdate) with the original meeting settings for the Meeting ID returned in the error. On successful update, you can then re-attempt the registrant request after yo…

Thanks

---

<div class="post-metadata">

**Author:** ![Pranay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pranay/32/31694_2.png) [@Pranay](https://devforum.zoom.us/u/Pranay)\
**Post date:** [October 12, 2021, 10:27am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/5 "2021-10-12T10:27:01Z")

</div>

Thank you very much for the quick answer. I will implement the workaround for now. Looking forward to a permanent solution, thank you.

---

<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:** [October 12, 2021, 12:32pm UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/6 "2021-10-12T12:32:41Z")

</div>

Thanks, @Pranay — we hope to have a permanent fix in place shortly.

---

<div class="post-metadata">

**Author:** ![Pranay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pranay/32/31694_2.png) [@Pranay](https://devforum.zoom.us/u/Pranay)\
**Post date:** [October 15, 2021, 8:14am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/7 "2021-10-15T08:14:22Z")

</div>

Hi @will.zoom,  
I implemented the patch, but still it’s failing to update meeting’s settings as discussed earlier  
for eg.  
I have created a piece of code to update as Patch for the meeting, same piece of code was executed for both the responses

`Meeting updated 2021-10-13 16:19:02, 3032`

> {“uuid”:“—something—==”,“id”:96979014845,“host\_id”:“~something~”,“host\_email”:“~something~”,“assistant\_id”:“~something~”,“topic”:“Online Wed 4 Pm , Fri 4 Pm13-10-2021”,“type”:2,“status”:“waiting”,“start\_time”:“2021-10-13T11:30:00Z”,“duration”:60,“timezone”:“Asia/Kolkata”,“agenda”:“”,“created\_at”:“2021-10-12T19:15:23Z”,“start\_url”:“[Launch Meeting - Zoom](https://tickleright.zoom.us/s/96979014845?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6ImhPSk9STFhEUkxTUy1xaldNYXdRQkEiLCJpc3MiOiJ3ZWIiLCJzdHkiOjEwMCwid2NkIjoiYXcxIiwiY2x0IjowLCJtbnVtIjoiOTY5NzkwMTQ4NDUiLCJzdGsiOiI3ZEs1eW9lTnIyVC1fdW5GX3piSVNqTTRFTEljR01DVjJBTDJLNXRndTBFLkJnWXNSemhMYm14NFRrNWFhVTVoU0U1bFdWVTNVRWd2UkVRdlNWWkNUMXA0TkdvNFNtMW5aRUpvU2lzeVZUMUFaakU0Tm1JeE1qQTNNMkU1T0dNNE9UYzVObVEzTVdKaFpUTmpaalZqT0dKak56WmhNR1l4TmpkbE0yUXdNVEkxTUdSa01qQmxOVEE1T0RaalltUXhNUUFnYUZJeFRGWnlUbUV2YzNRM1dURkZUVEpPVUZoQ1RqTldlRTlCYVhKa1NuVUFBMkYzTVFBQUFYeDVSUks2QUJKMUFBQUEiLCJleHAiOjE2MzQxMjkzNDIsImlhdCI6MTYzNDEyMjE0MiwiYWlkIjoiSHlLN1htQ0FTSFM3QXlVWmVQaG9HdyIsImNpZCI6IiJ9.qsVSjLAmwEnjWHO7HivMuhoM-9mbpEp52QihWmoRUVc%22,%22join_url%22:%22https://tickleright.zoom.us/j/96979014845%22,%22registration_url%22:%22https://tickleright.zoom.us/meeting/register/tJIkcOCorz8iHtHp9RyuBZkhFGAKzVakUt0a%22,%22settings%22:%7B%22host_video%22:true,%22participant_video%22:true,%22cn_meeting%22:false,%22in_meeting%22:false,%22join_before_host%22:false,%22jbh_time%22:0,%22mute_upon_entry%22:false,%22watermark%22:false,%22use_pmi%22:false,%22approval_type%22:0,%22audio%22:%22both%22,%22auto_recording%22:%22cloud%22,%22enforce_login%22:false,%22enforce_login_domains%22:%22%22,%22alternative_hosts%22:%22%22,%22close_registration%22:false,%22show_share_button%22:true,%22allow_multiple_devices%22:true,%22registrants_confirmation_email%22:true,%22waiting_room%22:true,%22request_permission_to_unmute_participants%22:false,%22global_dial_in_countries%22:%5B%22US%22%5D,%22global_dial_in_numbers%22:%5B%7B%22country_name%22:%22US%22,%22city%22:%22Washington) DC”,“number”:“+1 3017158592”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Chicago”,“number”:“+1 3126266799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Houston”,“number”:“+1 3462487799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“San Jose”,“number”:“+1 6699006833”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“New York”,“number”:“+1 9292056099”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Tacoma”,“number”:“+1 2532158782”,“type”:“toll”,“country”:“US”}],“contact\_name”:“code Right”,“contact\_email”:“~something~@gmail.com”,“registrants\_email\_notification”:true,“meeting\_authentication”:false,“encryption\_type”:“enhanced\_encryption”,“approved\_or\_denied\_countries\_or\_regions”:{“enable”:false},“breakout\_room”:{“enable”:false},“alternative\_hosts\_email\_notification”:true,“device\_testing”:false},“pre\_schedule”:false}

Response for 2021-10-13 16:19:03, 3032, ~something~@yahoo.co.in  
{“registrant\_id”:“~something~”,“id”:96979014845,“topic”:“Online Wed 4 Pm , Fri 4 Pm13-10-2021”,“start\_time”:“2021-10-13T11:30:00Z”,“join\_url”:“[Launch Meeting - Zoom](https://tickleright.zoom.us/w/96979014845?tk=Oo8-lr07iSa-IiZCddfiTy47K9pq_PfmwlossthwDi4.DQMAAAAWlGZUvRZkWTI2enp5YVNnMldYSGVUNmhxdUVRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)”}  
Response for 2021-10-13 16:19:04, 3032, ~something~@gmail.com  
{“registrant\_id”:“~something~”,“id”:96979014845,“topic”:“Online Wed 4 Pm , Fri 4 Pm13-10-2021”,“start\_time”:“2021-10-13T11:30:00Z”,“join\_url”:“[Launch Meeting - Zoom](https://tickleright.zoom.us/w/96979014845?tk=tC-P8tInRo7gVEPsUqkt-KyTvjfba3Y5i8IOfrJPwQ8.DQMAAAAWlGZUvRZwTndlRDhWVlJwR0d4eXhvVzVOQk93AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)”}`

`Meeting updated 2021-10-13 16:20:31, 3171

> {“uuid”:“~something~+~something~==”,“id”:95754701964,“host\_id”:“~something~”,“host\_email”:“~something~@gmail.com”,“assistant\_id”:“~something~”,“topic”:“Online B10 Wed 6:15 Pm(B10)13-10-2021”,“type”:2,“status”:“waiting”,“start\_time”:“2021-10-13T12:45:00Z”,“duration”:60,“timezone”:“Asia/Kolkata”,“agenda”:“Online B10 Wed 6:15 Pm(B10),\nDate: 13-10-2021”,“created\_at”:“2021-10-12T18:59:22Z”,“start\_url”:“[Launch Meeting - Zoom](https://tickleright.zoom.us/s/95754701964?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6Iks0dE14a3FXU0xxZFg3dVBVWmtVNFEiLCJpc3MiOiJ3ZWIiLCJzdHkiOjEwMCwid2NkIjoiYXcxIiwiY2x0IjowLCJtbnVtIjoiOTU3NTQ3MDE5NjQiLCJzdGsiOiIzTFFXSk5XaEpHbWVTMjhNMXp3Z1NnbUxseWJ0dzUyUlBLajVVU2lUX2hNLkJnWWdTekJSVkRneVpURlpORFV2ZDJ4WU55dGpUMWQ1WW1sRFptUm5WVlUyWlRkQU1qWXhabUl4TVdVM1kyTTNObUV6TWpKbE5ESTVOakpsWkRGaE4yUmpabUUxWTJRd01XWmtZV1JpTWpFek1UZ3hNVFExT1dVM01ERmhOamhrTW1Nd1l3QWdORmxNYUVGNVFtVkhOR0ZZTTFwTFFtc3JUblZ3UXpaeE9VNTRSV2czVHpZQUEyRjNNUUFBQVh4NVJteENBQkoxQUFBQSIsImV4cCI6MTYzNDEyOTQzMCwiaWF0IjoxNjM0MTIyMjMwLCJhaWQiOiJIeUs3WG1DQVNIUzdBeVVaZVBob0d3IiwiY2lkIjoiIn0.UQppLgUwbCev5jFz77IBTskMDH-GKegf614rAKO2Gfg%22,%22join_url%22:%22https://tickleright.zoom.us/j/95754701964%22,%22settings%22:%7B%22host_video%22:true,%22participant_video%22:true,%22cn_meeting%22:false,%22in_meeting%22:false,%22join_before_host%22:false,%22jbh_time%22:0,%22mute_upon_entry%22:false,%22watermark%22:false,%22use_pmi%22:false,%22approval_type%22:2,%22audio%22:%22both%22,%22auto_recording%22:%22cloud%22,%22enforce_login%22:false,%22enforce_login_domains%22:%22%22,%22alternative_hosts%22:%22%22,%22close_registration%22:false,%22show_share_button%22:false,%22allow_multiple_devices%22:false,%22registrants_confirmation_email%22:true,%22waiting_room%22:true,%22request_permission_to_unmute_participants%22:false,%22global_dial_in_countries%22:%5B%22US%22%5D,%22global_dial_in_numbers%22:%5B%7B%22country_name%22:%22US%22,%22city%22:%22Tacoma%22,%22number%22:%22+1) 2532158782”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Washington DC”,“number”:“+1 3017158592”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Chicago”,“number”:“+1 3126266799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Houston”,“number”:“+1 3462487799”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“San Jose”,“number”:“+1 6699006833”,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“New York”,“number”:“+1 9292056099”,“type”:“toll”,“country”:“US”}],“registrants\_email\_notification”:true,“meeting\_authentication”:false,“encryption\_type”:“enhanced\_encryption”,“approved\_or\_denied\_countries\_or\_regions”:{“enable”:false},“breakout\_room”:{“enable”:false},“alternative\_hosts\_email\_notification”:true,“device\_testing”:false},“pre\_schedule”:false}

Response for 2021-10-13 16:20:32, 3171, ~something~.~something~@gmail.com  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 95754701964.”}  
Response for 2021-10-13 16:20:33, 3171, ~something~.~something~@gmail.com  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 95754701964.”}  
Response for 2021-10-13 16:20:34, 3171, ~something~~something~@gmail.com  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 95754701964.”}

---

<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:** [October 18, 2021, 2:16pm UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/8 "2021-10-18T14:16:18Z")

</div>

Hi @Pranay,

Can you share the exact request URL being used for these requests and the JSON body you’re passing with me directly at [developersupport@zoom.us](mailto:developersupport@zoom.us)? This will help me to take a closer look.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![Pranay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pranay/32/31694_2.png) [@Pranay](https://devforum.zoom.us/u/Pranay)\
**Post date:** [October 20, 2021, 9:06am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/9 "2021-10-20T09:06:55Z")

</div>

Hi @will.zoom ,

This is the exact URL which we are using for the requests-

**when creating the meeting-**

[https://api.zoom.us/v2/users//meetings](https://api.zoom.us/v2/users//meetings)

**And below is the PHP code for body and this is passed as body while calling API after converting in JSON Format -**

```
       $body = [];

        $body['topic'] = "{$batch_details['batch']}" . (strlen($batch_details['branch_code']) > 0 ? " 
                                  ({$batch_details['branch_code']})" : "") . date("d-m-Y");

        $body['agenda'] = "{$batch_details['batch']}". (strlen($batch_details['branch_code']) > 0 ? " 
                                    ({$batch_details['branch_code']})" : "").",\nDate: " . date("d-m-Y");

        $body['duration'] = (strtotime(date('Y-m-d') . " " . $batch_details['end_time']) - strtotime(date('Y- 
                                      m-d') . " " . $batch_details['start_time'])) / 60;

        $body['schedule_for'] = $batch_details['zoom_id'];

        $body['timezone'] = "Asia/Kolkata";

        $body['password'] = "";

        $body['start_time'] = date("c", strtotime(date('Y-m-d') . " " . $batch_details['start_time']));

        $body['settings'] = [

            "host_video"=>true,

            "participant_video"=>true,

            "join_before_host"=>false,

            "mute_upon_entry"=>false,

            "approval_type"=> 0,

            "meeting_authentication"=>false

        ];

```

**And Response we got approval\_type : 2 instead send approval\_type : ‘0’ in JSON body**

Meeting created 2021-10-20 00:17:27, 3344  
{“[uuid":“wR4IVTtKTIik7blrI5QUHQ==”,“id”:92916766409,“host\_id”:“dNp4tdU-QfuMLJoyj-UDvQ”,“host\_email”:"@gmail.com](mailto:uuid%22:%22wR4IVTtKTIik7blrI5QUHQ==%22,%22id%22:92916766409,%22host_id%22:%22dNp4tdU-QfuMLJoyj-UDvQ%22,%22host_email%22:%22@gmail.com)”,“assistant\_id”:“AnZYyK4qSBaSXos\_SbGohQ”,“topic”:“Online B37 Wed 7 Pm(B37)20-10-2021”,“type”:2,“status”:“waiting”,“start\_time”:“2021-10-20T13:30:00Z”,“duration”:60,“timezone”:“Asia/Kolkata”,“agenda”:“Online B37 Wed 7 Pm(B37),\nDate: 20-10-2021”,“created\_at”:“2021-10-19T18:47:27Z”,“start\_url”:“[Launch Meeting - Zoom](https://tickleright.zoom.us/s/92916766409?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJhdWQiOiJjbGllbnRzbSIsInVpZCI6ImROcDR0ZFUtUWZ1TUxKb3lqLVVEdlEiLCJpc3MiOiJ3ZWIiLCJzdHkiOjEwMCwid2NkIjoiYXcxIiwiY2x0IjowLCJtbnVtIjoiOTI5MTY3NjY0MDkiLCJzdGsiOiJlNVRfM2NaOWlWdXNCR1A1ZXNiOFYwTEM2MTVNR1JGZjZxTWN5M3p5Tm9JLkJnWXNla05wUWtaQlZscERXUzlxVmswMFZYaHZMMGRITDAxV1FsTnBka2xJWWt0WGJqVjZWa1JCWmpsSk9EMUFOemxpWmpnNU5HRmlNR0ptWmpjd1pqSmxZelkzTURnek1UYzNOVFpoTmpsbU9EUmxNalkxTWpjM01XRXpZekptTkdZek5tWmlPRGswTVRaa1l6UXpOQUFNY21Wc2NIaFhMMVZEWjBFOUFBTmhkekVBQUFGOG1lRTlLZ0FTZFFBQUFBIiwiZXhwIjoxNjM0Njc2NDQ3LCJpYXQiOjE2MzQ2NjkyNDcsImFpZCI6Ikh5SzdYbUNBU0hTN0F5VVplUGhvR3ciLCJjaWQiOiIifQ.2TOodhShQp3su7uk9OAqsOwiWD77UxZNKEKRuvimsK4%22,%22join_url%22:%22https://tickleright.zoom.us/j/%22,%22settings%22:%7B%22host_video%22:true,%22participant_video%22:true,%22cn_meeting%22:false,%22in_meeting%22:false,%22join_before_host%22:false,%22jbh_time%22:0,%22mute_upon_entry%22:false,%22watermark%22:false,%22use_pmi%22:false,%22approval_type%22:2,%22audio%22:%22both%22,%22auto_recording%22:%22cloud%22,%22enforce_login%22:false,%22enforce_login_domains%22:%22%22,%22alternative_hosts%22:%22%22,%22close_registration%22:false,%22show_share_button%22:false,%22allow_multiple_devices%22:false,%22registrants_confirmation_email%22:true,%22waiting_room%22:true,%22request_permission_to_unmute_participants%22:false,%22global_dial_in_countries%22:%5B%22US%22%5D,%22global_dial_in_numbers%22:%5B%7B%22country_name%22:%22US%22,%22city%22:%22Washington) DC”,“number”:"+1 3017158592",“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Chicago”,“number”:" “,“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Houston”,“number”:”",“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“San Jose”,“number”:"",“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“New York”,“number”:"",“type”:“toll”,“country”:“US”},{“country\_name”:“US”,“city”:“Tacoma”,“number”:"",“type”:“toll”,“country”:“US”}],“registrants\_email\_notification”:true,“meeting\_authentication”:false,“encryption\_type”:“enhanced\_encryption”,“approved\_or\_denied\_countries\_or\_regions”:{“enable”:false},“breakout\_room”:{“enable”:false},“alternative\_hosts\_email\_notification”:true,“device\_testing”:false},“pre\_schedule”:false}

**when assigning participants, URL is-**

[https://api.zoom.us/v2/meetings//registrants](https://api.zoom.us/v2/meetings//registrants)

**And the JSON body is -**  
{  
‘email’ : ‘email id’,  
‘first\_name’ : ‘xyz’,  
‘last\_name’ : ‘abc’  
}

**and after that we got the response as mentioned below-**

Response for 2021-10-20 00:17:28, 3344, [hidden@gmail.com](mailto:hidden@gmail.com)  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 92916766409.”}  
Response for 2021-10-20 00:17:29, 3344, [hidden@gmail.com](mailto:hidden@gmail.com)  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 92916766409.”}  
Response for 2021-10-20 00:17:30, 3344, [hidden@gmail.com](mailto:hidden@gmail.com)  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 92916766409.”}  
Response for 2021-10-20 00:17:31, 3344, [hidden@gmail.com](mailto:hidden@gmail.com)  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 92916766409.”}  
Response for 2021-10-20 00:17:32, 3344, [hidden@gmail.com](mailto:hidden@gmail.com)  
{“code”:404,“message”:“Registration has not been enabled for this meeting: 92916766409.”}

This is happening with only some meetings not for all.

Thanks

---

<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:** [October 21, 2021, 11:45am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/10 "2021-10-21T11:45:29Z")

</div>

Hi @Pranay,

I’ve masked some of the sensitive details in your previous post.

Please ensure that when you update the meeting, you’re using the following URL:  
[https://api.zoom.us/v2/meetings/meetingId](https://api.zoom.us/v2/meetings/meetingId)  
(do not include users or user id in this url)

and the following http method: PATCH

And only passing the following two fields:

```auto
{
  "settings":{
    "approval_type": 0,
    "registration_type": 2
  }
}

```

This should return a 204 on success, but will not return a response body. Based on your example, it seems like you might have been calling the meeting create endpoint.

Note that our permanent fix is in place for our next release in a couple of weeks.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![Pranay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pranay/32/31694_2.png) [@Pranay](https://devforum.zoom.us/u/Pranay)\
**Post date:** [October 23, 2021, 6:31am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/12 "2021-10-23T06:31:22Z")

</div>

Hey @will.zoom ,  
The above response which we discussed earlier was implementation of this piece of code

> > $body = ;  
> > $body[‘settings’] = [
> > 
> > > “approval\_type”=\> 0,  
> > > “registration\_type”=\> 2  
> > > ];

> > $update\_meeting\_id = $conn-\>query(“SELECT `meeting_id` FROM table WHERE `batch_id` = ‘{$batch\_id}’ AND `date` = '”.date(‘Y-m-d’).“’ AND `park` = ‘0’”)-\>fetch\_assoc();  
> > //echo “[https://api.zoom.us/v2/meetings/{$update\_meeting\_id[‘meeting\_id’]}](https://api.zoom.us/v2/meetings/%7B$update_meeting_id%5B'meeting_id'%5D%7D)”;  
> > **$response = $this-\>callAPI(“PATCH”, “[https://api.zoom.us/v2/meetings/{$update\_meeting\_id[‘meeting\_id’]}](https://api.zoom.us/v2/meetings/%7B$update_meeting_id%5B'meeting_id'%5D%7D)”, json\_encode($body));**  
> > //After response assign participants.

Yes I’m using the [https://api.zoom.us/v2/meetings/meetingID](https://api.zoom.us/v2/meetings/meetingID) url for this.  
I have sent a mail regarding this.  
My actual issue is the patch fails to update some meetings and also it updates some meetings successfully. And theirs also a limit for requesting to assign participant in a meeting of 3.  
Where as I observe it usually fails to update meetings twice or thrice.

---

<div class="post-metadata">

**Author:** ![Pranay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pranay/32/31694_2.png) [@Pranay](https://devforum.zoom.us/u/Pranay)\
**Post date:** [October 23, 2021, 8:21am UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/13 "2021-10-23T08:21:42Z")

</div>

> [@When creating a meeting some meetings return with approval 2](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/7):
>
> Hi @will.zoom, I implemented the patch, but still it’s failing to update meeting’s settings as discussed earlier for eg. I have created a piece of code to update as Patch for the meeting, same piece of code was executed for both the responses Meeting updated 2021-10-13 16:19:02, 3032 {“uuid”:"—something—==",“id”:96979014845,“host\_id”:"~something~",“host\_email”:"~something~",“assistant\_id”:"~something~",“topic”:“Online Wed 4 Pm , Fri 4 Pm13-10-2021”,“type”:2,“status”:“waiting”,“start\_time”:…

This is response for the above code

---

<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:** [October 26, 2021, 1:19pm UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/14 "2021-10-26T13:19:54Z")

</div>

Hi @Pranay,

I can see we’re now in touch over email, so I will continue the conversation with you there.

Best,  
Will

---

<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:** [October 26, 2021, 1:19pm UTC](https://devforum.zoom.us/t/when-creating-a-meeting-some-meetings-return-with-approval-2/58534/15 "2021-10-26T13:19:58Z")

</div>

Closed on October 26, 2021, 1:19pm UTC


