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?
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?
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.
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.
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}
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.
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}
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 }
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?
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.