When creating a meeting some meetings return with approval 2

Using this template helps us debug your issues more effectively :slight_smile:

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

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

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

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:

Thanks

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

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

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 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”}
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”}`

`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 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.”}

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? This will help me to take a closer look.

Thanks,
Will