Description
When querying the meeting details API endpoint the “total_records” returned doesn’t always match the actual count of meetings returned. For many time ranges i’m querying the count of meetings returned by the query is greater than the ‘total_records’ count
Error
No error message, just incorrect / misleading results.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
Querying API using powershell and JWT authentication.
How To Reproduce (If applicable)
Steps to reproduce the behavior:
[09:42:19]:C:\Scripts\PowerShell\zoom\Scripts\GetMeetingStats> $listMeetingsUri https://api.zoom.us/v2/metrics/meetings
[09:42:24]:C:\Scripts\PowerShell\zoom\Scripts\GetMeetingStats> $body
Name Value
---- -----
type past
from 2020-03-14
page_size 300
next_page_token
to 2020-04-12
[09:42:26]:C:\Scripts\PowerShell\zoom\Scripts\GetMeetingStats> $results = Invoke-RestMethod -Uri $listMeetingsUri -Headers $headers -Body $body
[09:42:40]:C:\Scripts\PowerShell\zoom\Scripts\GetMeetingStats> $results.total_records
117
[09:42:47]:C:\Scripts\PowerShell\zoom\Scripts\GetMeetingStats> $results.meetings.count
135
Hey Tommy,
In the example i gave above the total_records said “117” but the count of actual meetings returned was 135.
I ran a couple more reports this morning and for one timeframe it returned a “total_records” of 144 but returned 168 actual meetings. For another timeframe that had multiple pages of results the total_records said 1936 but when i finished processing all the pages i had a total of 2021 meetings.
Below are results from a query run this morning showing the same issue:
Name Value
---- -----
type past
from 2020-03-16
page_size 300
next_page_token
to 2020-04-14
[08:55:18]:C:\Scripts\PowerShell\zoom\Scripts\GetMeetingStats> $results.total_records
184
[08:55:24]:C:\Scripts\PowerShell\zoom\Scripts\GetMeetingStats> $results.meetings.Count
216