# Invalid meeting ID for registrants after creating meeting via API

**URL:** <https://devforum.zoom.us/t/invalid-meeting-id-for-registrants-after-creating-meeting-via-api/16652>\
**Category:** API and Webhooks\
**Created:** [May 7, 2020, 7:12pm UTC](https://devforum.zoom.us/t/invalid-meeting-id-for-registrants-after-creating-meeting-via-api/16652 "2020-05-07T19:12:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aweed1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aweed1/32/7969_2.png) [@aweed1](https://devforum.zoom.us/u/aweed1)\
**Post date:** [May 7, 2020, 7:12pm UTC](https://devforum.zoom.us/t/invalid-meeting-id-for-registrants-after-creating-meeting-via-api/16652/1 "2020-05-07T19:12:56Z")

</div>

**Description**  
I’ve created meetings for users via the Zoom API. These users are part of our Zoom account already. For each of the created meetings, I’ve also registered 1 or more users for that meeting. These registrants are not part of our zoom account. When registering the users, I don’t receive any errors.

**Error**  
When viewing the created meeting through the Zoom user’s page, if I click on registrants, the registrants pop up will show up, but will not show the registrants. Instead it shows ‘Invalid Meeting Id’.

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

**Which Endpoint/s?**

> **[Create a Meeting - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)**
>
> Create a meeting for a user. This API has a daily rate limit of 100 requests per day. Therefore, only 100 Create a Meeting API requests are permitted wi...

> **[Add Meeting Registrant - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate)**
>
> Register a participant for a meeting.
> Scopes: meeting:write:admin meeting:write
> Rate Limit Label: Light
> 
> Authorization
> 
> Flow: authorizationCode
> 
> Author...

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

No errors are thrown when creating registrants for the meeting

```
Http.post("/meetings/" + meetingid + "/registrants", {
    email: examiner.email,
    first_name: examiner.first,
    last_name: examiner.last
}).then(res => {
    console.log(res)
})
.catch(error => {
    let log = `${timestamp()} [ERROR] ${JSON.stringify(error.response.data, null, 4)}`;
    console.error(log);
    logLine(logStream, log);
})

```

**Screenshots (If applicable)**

 ![Screen Shot 2020-05-07 at 2.59.56 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5356caea2056a644603c60d0e4ab94578c721d3b.png)

EDITS:

Calling the endpoint `/v2/report/meetings/meetingid/participants` with the created meeting id yields:  
{  
“code”: 3001,  
“message”: “Meeting does not exist: meetingid.”  
}

```auto

```

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 12, 2020, 11:39pm UTC](https://devforum.zoom.us/t/invalid-meeting-id-for-registrants-after-creating-meeting-via-api/16652/2 "2020-05-12T23:39:40Z")

</div>

Hey @aweed1,

This is strange! Can you private message me the affected meeting ID?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![aweed1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aweed1/32/7969_2.png) [@aweed1](https://devforum.zoom.us/u/aweed1)\
**Post date:** [May 14, 2020, 2:21pm UTC](https://devforum.zoom.us/t/invalid-meeting-id-for-registrants-after-creating-meeting-via-api/16652/3 "2020-05-14T14:21:00Z")

</div>

Hey @tommy, thanks for the continued support!

I did some digging and I _think_ this is what is happening

When I click into a user’s meetings (by clicking Users, searching the name, clicking the name, clicking on their meetings, then the meeting) I cannot see the meeting registrants unless I am the host of the meeting.

I tested this with a colleague. He was able to see the registrants for the meeting he was a host of, but I was not. (This was a meeting that I had generated from the API, using a JWT)

Am I misunderstanding the API? I’ve also noticed that when querying for these meetings, I will get

```auto
{
    "code": 3001,
    "message": "Meeting does not exist: xxxxxxxxxxxxx."
}

```

I’ll PM you some of the meeting ids, this seems to be happening for any meeting I create via the API where I am not a host.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 19, 2020, 4:22pm UTC](https://devforum.zoom.us/t/invalid-meeting-id-for-registrants-after-creating-meeting-via-api/16652/4 "2020-05-19T16:22:53Z")

</div>

Hey @aweed1,

Thanks for the additional details.

> [@aweed1](#):
>
> Am I misunderstanding the API? I’ve also noticed that when querying for these meetings, I will get
> 
> ```auto
> {
> "code": 3001,
> "message": "Meeting does not exist: xxxxxxxxxxxxx."
> }
> 
> ```

Is this user a [user on your Zoom account](https://zoom.us/account/user#/)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:24pm UTC](https://devforum.zoom.us/t/invalid-meeting-id-for-registrants-after-creating-meeting-via-api/16652/5 "2020-08-21T21:24:46Z")

</div>

Closed on August 21, 2020, 9:24pm UTC


