# Error while creating ZOOM Meeting

**URL:** <https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184>\
**Category:** Meetings\
**Tags:** api\
**Created:** [April 6, 2023, 8:57am UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184 "2023-04-06T08:57:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sai11101989](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sai11101989](https://devforum.zoom.us/u/sai11101989)\
**Post date:** [April 6, 2023, 8:57am UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184/1 "2023-04-06T08:57:13Z")

</div>

**Description**  
We try to call ZOOM Meeting to create an API call and we get the following error.

**Error?**  
An unexpected error occured while attempting to move the activity to production. The activity was not created or updated on the Zoom server. please try again later or contct your system administratot. Error code(300): Invalid enforce\_login\_domains, please seperate multiple domains by semicolons ".

**How To Reproduce**  
Please note that this is unique to few customers who are facing this problem. We are available for a call to demo the issue.

---

<div class="post-metadata">

**Author:** ![sai11101989](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sai11101989](https://devforum.zoom.us/u/sai11101989)\
**Post date:** [April 10, 2023, 4:02am UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184/2 "2023-04-10T04:02:08Z")

</div>

Attached is the error we receive while doing the create call from our application.

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

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [April 10, 2023, 11:01pm UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184/3 "2023-04-10T23:01:04Z")

</div>

@sai11101989 are you the developer in the app? If seems they have not configured the enforce\_login domains part correctly.

---

<div class="post-metadata">

**Author:** ![sai11101989](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sai11101989](https://devforum.zoom.us/u/sai11101989)\
**Post date:** [April 11, 2023, 2:56am UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184/4 "2023-04-11T02:56:08Z")

</div>

How to do it correctly? Can you share some resources? We see that this flag is being deprecated. We can have a short call with my developer if you are available today as per your availability.

---

<div class="post-metadata">

**Author:** ![charles1237718](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@charles1237718](https://devforum.zoom.us/u/charles1237718)\
**Post date:** [April 11, 2023, 4:47pm UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184/5 "2023-04-11T16:47:38Z")

</div>

It seems that the error message is related to the “enforce\_login\_domains” parameter of the API call, which is used to restrict login to specific domains. The error message indicates that there is an issue with the way this parameter is formatted.

To fix the issue, ensure that the “enforce\_login\_domains” parameter is properly formatted and that multiple domains are separated by semicolons. Double-check that the domains you are specifying are valid and have been properly authorized on the Zoom server.

---

<div class="post-metadata">

**Author:** ![sai11101989](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@sai11101989](https://devforum.zoom.us/u/sai11101989)\
**Post date:** [April 12, 2023, 10:13am UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting/86184/6 "2023-04-12T10:13:51Z")

</div>

This is what we pass: “enforce\_login\_domains”: “false”. If you look at the below JSON we use, we send unique values wherever the values are under %%, the blank fields are left blank.

{  
“topic”: “%ActivityName%”,  
“type”: 2,  
“start\_time”: “%StartDate%”,  
“duration”: “%Duration%”,  
“timezone”: “%TimeZone%”,  
“agenda”: “%ActivityDescription%”,  
“settings”: {  
“host\_video”: “false”,  
“participant\_video”: “false”,  
“cn\_meeting”: “false”,  
“in\_meeting”: “false”,  
“join\_before\_host”: “true”,  
“mute\_upon\_entry”: “false”,  
“watermark”: “false”,  
“use\_pmi”: “false”,  
“approval\_type”: 0,  
“audio”: “both”,  
“auto\_recording”: “%RecordingType%”,  
“enforce\_login”: “false”,  
“enforce\_login\_domains”: “false”,  
“alternative\_hosts”: “”  
}  
}

This issue is limited to a few customers only. However, when testing the issue using our own Zoom account, we couldn’t reproduce the issue. To add we never changed our implementation since day 1 and a few customers recently started reporting issue.

Is there something that needs to be reviewed from our customer ZOOM account settings? If yes, what needs to be checked?
