# Create meeting is returning 400 error

**URL:** <https://devforum.zoom.us/t/create-meeting-is-returning-400-error/46015>\
**Category:** API and Webhooks\
**Created:** [March 18, 2021, 11:57pm UTC](https://devforum.zoom.us/t/create-meeting-is-returning-400-error/46015 "2021-03-18T23:57:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wesley1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wesley1/32/20932_2.png) [@wesley1](https://devforum.zoom.us/u/wesley1)\
**Post date:** [March 18, 2021, 11:57pm UTC](https://devforum.zoom.us/t/create-meeting-is-returning-400-error/46015/1 "2021-03-18T23:57:33Z")

</div>

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

**Description**  
Getting a 400 error when trying to send a request to create a zoom event. Ultimately, the goal is to get the zoom meeting to show up in the correct host’s zoom account. I think fixing this 400 error may fix that.

**Error**  
Request failed with status code 400

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

**Which Endpoint/s?**  
zoom-api/meetings/meetingcreate

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error  
Request URL:  
[api.zoom.us/v2/users/](http://api.zoom.us/v2/users/)/meetings

Request body:  
{“topic”:“Test Event”,“agenda”:"",“settings”:{“auto\_recording”:“cloud”,“approval\_type”:2,“join\_before\_host”:true,“mute\_upon\_entry”:true,“participant\_video”:true,“alternative\_hosts”:""},“start\_time”:“2021-03-18T22:09:00Z”,“duration”:21,“type”:2}

**Screenshots (If applicable)**

 ![Screen Shot 2021-03-18 at 4.54.45 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/e/2e2fb2b586e58d7b54d22cf82a0a558eab11d2a0.png)

**Additional context**  
It has been working with every event, except for requests from this host\_id it seems like. Sometimes the meeting has been showing up in another zoom account (the owner of the host account).

---

<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 19, 2021, 9:16pm UTC](https://devforum.zoom.us/t/create-meeting-is-returning-400-error/46015/2 "2021-03-19T21:16:47Z")

</div>

Hey @wesley1,

Thank you for reaching out to the Zoom Developer Forum. Please send an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread. In that email, please include the user ID that you’re seeing this issue with as well as the headers that you’re using for the request.

I’ll investigate the issue further from there.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![wesley1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wesley1/32/20932_2.png) [@wesley1](https://devforum.zoom.us/u/wesley1)\
**Post date:** [March 19, 2021, 11:05pm UTC](https://devforum.zoom.us/t/create-meeting-is-returning-400-error/46015/3 "2021-03-19T23:05:00Z")

</div>

I figured it out! It seems like we were adding an alternative host who wasn’t part of the zoom account. Code 1114. It seems like I was only printing the error.message which wasn’t giving us the full story.

Additionally, I think the Zoom create meeting API could be cleared up a bit with the above ^ and also stating that you add duration to recurring meetings with a fixed time. (It currently says you can’t do that.)

---

<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:18pm UTC](https://devforum.zoom.us/t/create-meeting-is-returning-400-error/46015/4 "2021-03-22T17:18:31Z")

</div>

Hey @wesley1,

Great! I’m glad to hear that you figured it out. It sounds like our documentation around this can be improved so I’ll reach out to our documentation team. Thank you for letting us know!

As always, feel free to reach out if you encounter any further issues or questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 22, 2021, 3:19am UTC](https://devforum.zoom.us/t/create-meeting-is-returning-400-error/46015/5 "2021-04-22T03:19:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
