# GetMeeting Endpoint cannot find non-scheduled meetings after they end

**URL:** <https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007>\
**Category:** API and Webhooks\
**Created:** [January 5, 2023, 2:39pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007 "2023-01-05T14:39:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![bk-zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bk-zoom/32/33992_2.png) [@bk-zoom](https://devforum.zoom.us/u/bk-zoom)\
**Post date:** [January 5, 2023, 2:39pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/1 "2023-01-05T14:39:57Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
_Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context._  
url: `https://api.zoom.us/v2/meetings/${meetingId}`,

**Description**  
This endpoint will return “data: { code: 3001, message: ‘Meeting is not found or has expired.’ }” when you try to query a meeting that was “generated on the fly” versus “scheduled” after the meeting has stopped.

It will return data for the meeting while it is live and taking place, and the moment it ends it returns the error above when you try to get the details.

I have replicated this successfully many times, and it does not occur with scheduled meetings.

If i schedule a meeting in zoom, then start it, then end it, i can query the meeting via this endpoint at any stage and i get data back.

**Error?**  
data: { code: 3001, message: ‘Meeting is not found or has expired.’ }

**How To Reproduce**  
_Steps to reproduce the behavior:_  
\*1. Start a zoom meeting (do NOT schedule it, just start one clicking new meeting in the app)  
\*2. Query the get meeting endpoint while the meeting is live and taking place (you should get a response back with the meeting payload)  
\*3. Stop the meeting and query the endpoint again for the meeting ID, you will get error 3001.

Repeat the same steps above except SCHEDULE a meeting, do not “instant start one”.  
You will be able to query this meeting at any stage in its lifecycle.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 5, 2023, 2:47pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/2 "2023-01-05T14:47:14Z")

</div>

@bk-zoom once the meeting is ended that meeting will be considered as a past meeting and will be requested by → `/past_meetings/{meetingId}`.

If still have any queries please share. Thanks

---

<div class="post-metadata">

**Author:** ![bk-zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bk-zoom/32/33992_2.png) [@bk-zoom](https://devforum.zoom.us/u/bk-zoom)\
**Post date:** [January 5, 2023, 2:50pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/3 "2023-01-05T14:50:37Z")

</div>

Why am i still able to pull up “past meetings” under this endpoint when they have been created via schedule instead of “instant started”

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 5, 2023, 2:55pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/4 "2023-01-05T14:55:53Z")

</div>

> [@bk-zoom](#):
>
> Stop the meeting and query the endpoint again for the meeting ID, you will get error 3001

Once you stop the instant meeting that event will be considered as a past meeting and will be no more requested as available.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 5, 2023, 2:57pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/5 "2023-01-05T14:57:18Z")

</div>

> [@bk-zoom](#):
>
> under this endpoint

@bk-zoom Endpoint, please?

---

<div class="post-metadata">

**Author:** ![bk-zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bk-zoom/32/33992_2.png) [@bk-zoom](https://devforum.zoom.us/u/bk-zoom)\
**Post date:** [January 5, 2023, 2:57pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/6 "2023-01-05T14:57:58Z")

</div>

I understand this, however why is this functionality not being respected for scheduled meetings?

By this logic, any meeting that has ended should not be able to be retrieved by the meetings endpoint, yet i am able to retrieve scheduled meetings that have ended via this endpoint no problem.

Is this a bug in the meetings endpoint, undocumented features, etc?

---

<div class="post-metadata">

**Author:** ![bk-zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bk-zoom/32/33992_2.png) [@bk-zoom](https://devforum.zoom.us/u/bk-zoom)\
**Post date:** [January 5, 2023, 2:58pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/7 "2023-01-05T14:58:32Z")

</div>

`https://api.zoom.us/v2/meetings/${meetingId}`,

^ will return meeting details for a scheduled meeting that is ended

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 5, 2023, 3:08pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/8 "2023-01-05T15:08:09Z")

</div>

> [@bk-zoom](#):
>
> By this logic, any meeting that has ended should not be able to be retrieved by the meetings endpoint, yet i am able to retrieve scheduled meetings that have ended via this endpoint with no problem.

If the meeting is still in the `Upcoming` tab and the scheduled time is not expired then you can get that meeting details using

> [@bk-zoom](#):
>
> [https://api.zoom.us/v2/meetings/${meetingId}](https://api.zoom.us/v2/meetings/$%7BmeetingId%7D)

E.g if you have scheduled a meeting for `2023-01-07T12:00:00Z` and you have started that meeting right today `2023-01-05` then still the meeting is active until the scheduled time will be expired. The `2023-01-05` instance will be in past\_meetings with a unique id called uuid.

Every time a meeting is scheduled it has uuid which is active uuid and once the event is ended Zoom is going to assign a different uuid for that past meeting instance called instance uuid.

If still not clear please ask.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 5, 2023, 3:11pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/9 "2023-01-05T15:11:03Z")

</div>

> [@bk-zoom](#):
>
> `https://api.zoom.us/v2/meetings/${meetingId}`,
> 
> ^ will return meeting details for a scheduled meeting that is ended

Yes, it will return meeting details b/c the meeting is still active and in the `Upcoming` tab.

For ended instance details you can get that details by calling the `/past_meetings/{meetingId}/instances` endpoint and `/past_meetings/{meetingId}` endpoints.

---

<div class="post-metadata">

**Author:** ![bk-zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bk-zoom/32/33992_2.png) [@bk-zoom](https://devforum.zoom.us/u/bk-zoom)\
**Post date:** [January 5, 2023, 4:33pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/10 "2023-01-05T16:33:07Z")

</div>

Thank you this is a very clear answer

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 5, 2023, 4:38pm UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/11 "2023-01-05T16:38:25Z")

</div>

@bk-zoom Welcome and Thanks 🙂

---

<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:** [January 9, 2024, 8:14am UTC](https://devforum.zoom.us/t/getmeeting-endpoint-cannot-find-non-scheduled-meetings-after-they-end/81007/12 "2024-01-09T08:14:39Z")

</div>

Closed on January 9, 2024, 8:14am UTC

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