# Past meeting's end\_time is null

**URL:** <https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764>\
**Category:** Meetings\
**Created:** [August 1, 2023, 8:50pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764 "2023-08-01T20:50:52Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 1, 2023, 8:50pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/1 "2023-08-01T20:50:52Z")

</div>

API Endpoint(s) and/or Zoom API Event(s)  
[https://api.zoom.us/v2/metrics/meetings?type=past&from=2023-07-24&to=2023-07-24](https://api.zoom.us/v2/metrics/meetings?type=past&from=2023-07-24&to=2023-07-24)

**Description**  
When retrieving the metrics for past meetings, one of them returned with no end\_time value. Trying to parse that to DateTime led to our batch job crashing.  
Even if the meeting was still going on after 8 days, shouldn’t the query parameter “type=past” exclude it?  
Is there any way that we can exclude meetings where the end\_time is null from this call?

**Error?**  
No error message

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 2, 2023, 9:08pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/2 "2023-08-02T21:08:29Z")

</div>

Hi @asahagun  
Thanks for reaching out to us, I am happy to help here!  
So you are trying to query meetings that are in the past, you want to exclude live meetings from your query?

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 2, 2023, 9:14pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/3 "2023-08-02T21:14:08Z")

</div>

Hi, thanks for your response.  
Yes. I expected live meetings to be excluded since they have another query parameter (“live”).  
Seeing that it’s not the case, I think the best option is to exclude those meetings from the result.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 2, 2023, 9:21pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/4 "2023-08-02T21:21:07Z")

</div>

Thanks for your quick response.  
I have actually seen this behavior and I have opened up an internal ticket (here is the number for reference ZOOM-572635)  
I have engaged with the Engineering team again to track this down.

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 2, 2023, 9:42pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/5 "2023-08-02T21:42:45Z")

</div>

Thank you very much. I look forward to hearing back from you.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 3, 2023, 7:15pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/6 "2023-08-03T19:15:38Z")

</div>

Hi @asahagun  
Just wanted to update you on this, I did some testing on my end and confirmed with Engineering.  
I had a meeting live and I called the endpoint  
metrics/meetings/meetingID?type=past  
While the meeting was live I got an error {Meeting does not exist}

When I called the endpoint  
metrics/meetings/meetingID?type=live  
I got the expected response body, with end\_time value as 0 becasue the meetings is live

Now once I ended the meeting, I was able to query with the query param type=past  
And I got the expected response body with a value on end)time and duration

When I tried calling the endpoint with the query param type=live once the meeting ended I got the same error {Meeting does not exist}

Is this the same behavior you are seeing?

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 3, 2023, 10:11pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/7 "2023-08-03T22:11:55Z")

</div>

Hi! Thank you for following up on this.

Whenever I call the endpoint to get that single meeting, it returns the error “Meeting does not exist,” regardless of which parameter (past or live) I use, or even if I do not use any.  
However, if I query for a list of metrics, it will appear.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 4, 2023, 2:36pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/8 "2023-08-04T14:36:52Z")

</div>

OF course! happy to help! @asahagun  
Can you confirm that the meeting has more than one participant???

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 4, 2023, 2:49pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/9 "2023-08-04T14:49:19Z")

</div>

As weird as it may be, participants is set to 0 in the JSON response.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 4, 2023, 3:00pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/10 "2023-08-04T15:00:06Z")

</div>

@asahagun can you try passing type=pastOne  
as documented here: [Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/dashboardMeetingDetail)

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 4, 2023, 3:08pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/11 "2023-08-04T15:08:02Z")

</div>

So far:  
/metrics/meetings/{meetingID}?type=past { **Meeting does not exist** }  
/metrics/meetings/{meetingID}?type=pastOne { **Meeting does not exist** }  
/metrics/meetings/{meetingID}?type=live { **Meeting does not exist** }  
/metrics/meetings?from=2023-07-24&to=2023-07-24&type=past {Meeting present in list}

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 4, 2023, 3:43pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/12 "2023-08-04T15:43:47Z")

</div>

Interesting.  
could you share with me the meeting ID please

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 4, 2023, 3:46pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/13 "2023-08-04T15:46:16Z")

</div>

Sure, it’s:  
ggs3fijMQLqk0lO5aSqyQg==

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 4, 2023, 3:52pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/14 "2023-08-04T15:52:40Z")

</div>

It looks like the meeting was started and finished within seconds (3sec) and it only had one participant.  
Could you please try again but let the meeting run a little bit longer, at least 1 minute  
And try with this endpoint: /metrics/meetings/{meetingID}?type=pastOne { **Meeting does not exist** }

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 4, 2023, 5:58pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/15 "2023-08-04T17:58:31Z")

</div>

Understandable, but is there a way to exclude this meeting (or any other without end\_date) from the results when I call the **/metrics/meeting?type=past** endpoint?

---

<div class="post-metadata">

**Author:** ![checksassastatus](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/checksassastatus/32/50814_2.png) [@checksassastatus](https://devforum.zoom.us/u/checksassastatus)\
**Post date:** [August 6, 2023, 1:36pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/16 "2023-08-06T13:36:20Z")

</div>

I also got my answer with this discussion and really helpful[.](https://checksassastatus.com/)

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 7, 2023, 3:21pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/17 "2023-08-07T15:21:50Z")

</div>

You should not be getting live meetings if you use the type=past  
And all live meetings are those ones without an end\_date

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 7, 2023, 3:22pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/18 "2023-08-07T15:22:14Z")

</div>

Happy to hear that this thread was helpful @checksassastatus  
Welcome to our developer community!

---

<div class="post-metadata">

**Author:** ![asahagun](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asahagun](https://devforum.zoom.us/u/asahagun)\
**Post date:** [August 7, 2023, 3:34pm UTC](https://devforum.zoom.us/t/past-meetings-end-time-is-null/92764/19 "2023-08-07T15:34:01Z")

</div>

Well, I started this thread because I got meeting ggs3fijMQLqk0lO5aSqyQg== (which should be considered live as it has no end\_date) while calling endpoint /metrics/meeting?type=past

Anyway, if this is being addressed in the ticket ZOOM-572635, we’re good.  
Thank you for your assistance.
