# Meeting created using API is invalid

**URL:** <https://devforum.zoom.us/t/meeting-created-using-api-is-invalid/56069>\
**Category:** API and Webhooks\
**Created:** [August 19, 2021, 11:41am UTC](https://devforum.zoom.us/t/meeting-created-using-api-is-invalid/56069 "2021-08-19T11:41:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![twcinnovations](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@twcinnovations](https://devforum.zoom.us/u/twcinnovations)\
**Post date:** [August 19, 2021, 11:41am UTC](https://devforum.zoom.us/t/meeting-created-using-api-is-invalid/56069/1 "2021-08-19T11:41:42Z")

</div>

## Meeting created using API is invalid

**Description**  
When a meeting is created it returns a successful 201 status. The data object contains all the meeting details and the links. When we go to the link provided in the body, it gives invalid meeting link error.

Additionally when we try to retrieve all the meetings an empty array is retrieved.

**Error**  
There are no error messages.

**Which App Type (JWT)?**  
The JWT token is used in the header. There are no authorization/authentication errors.

**Which Endpoint/s?**  
To create meetings : `/users/${userId}/meetings`  
To list all meetings : `/users/${userId}/meetings`

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

1. Send the following data to `/users/${userId}/meetings`

```auto
    const data = {
      topic: `Test Meeting : ${uuid()}`,
      agenda: 'This is the test meeting',
      type: 2, // 1:instant, 2:schedule
      pre_schedule: true, // only supports 2
      start_time: date,
      duration: 50, // minutes
      timezone: 'UTC',
      password: 'pass5word0',
    };

```

1. Once successfully created do a get request to `/users/${userId}/meetings`

**Additional context**  
The code is written in nodejs

---

<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:** [August 23, 2021, 4:07pm UTC](https://devforum.zoom.us/t/meeting-created-using-api-is-invalid/56069/2 "2021-08-23T16:07:42Z")

</div>

Hi @twcinnovations,

Can you please ensure that you’re setting pre\_schedule to false? If this is set to true, the meeting will not be actively reflected as scheduled yet.

Thanks,  
Will

---

<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:** [September 23, 2021, 2:08am UTC](https://devforum.zoom.us/t/meeting-created-using-api-is-invalid/56069/3 "2021-09-23T02:08:13Z")

</div>

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