Description
When querying the meeting details API endpoint the “total_records” returned doesn’t always match the actual count of meetings returned. I’m getting results where the number of meetings returned is greater than the ‘total_records’ count. Note that we experienced this same problem in August as posted here . The problem was resolved after that but now it seems to be occurring again.
Error
No error message, just incorrect / misleading results.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
Querying API using powershell and JWT authentication.
Which Endpoint/s?
https://api.zoom.us/v2/metrics/meetings
How To Reproduce (If applicable)
See verbose output of script below for GET requests that were made (i removed all but the first and last few as it was the same in each case except for the count incrementing by 300 results and the next_page_token changing, but i can provide the full output if needed). The code looped until the results had no next_page_token.
VERBOSE: Pulling meetings for range '2020-10-05' - '2020-10-15'
VERBOSE: Request (1 of ??). Waiting 4 seconds between requests.
VERBOSE: GET https://api.zoom.us/v2/metrics/meetings?page_size=300&from=2020-10-05&to=2020-10-15&next_page_token=&type=past with 0-byte payload
VERBOSE: received -1-byte response of content type application/json;charset=UTF-8
VERBOSE: Retrieved 300 of 22507 total meetings
.....
VERBOSE: Request (74 of 76). Waiting 4 seconds between requests.
VERBOSE: GET https://api.zoom.us/v2/metrics/meetings?type=past&from=2020-10-05&page_size=300&next_page_token=vae9YnW4oxqlcIVPaNBXhcW9y6iSIBbDiv74&to=2020-10-15 with 0-byte payload
VERBOSE: received -1-byte response of content type application/json;charset=UTF-8
VERBOSE: Retrieved 22200 of 22507 total meetings
VERBOSE: Request (75 of 76). Waiting 4 seconds between requests.
VERBOSE: GET https://api.zoom.us/v2/metrics/meetings?type=past&from=2020-10-05&page_size=300&next_page_token=CsfpSyN4Eppm16Q36DnKDQeanhYPecM8YU75&to=2020-10-15 with 0-byte payload
VERBOSE: received -1-byte response of content type application/json;charset=UTF-8
VERBOSE: Retrieved 22500 of 22507 total meetings
VERBOSE: Request (76 of 76). Waiting 4 seconds between requests.
VERBOSE: GET https://api.zoom.us/v2/metrics/meetings?type=past&from=2020-10-05&page_size=300&next_page_token=n4Ppm718BzpT2S1NX3o9Yt94CNquUDj6Nb76&to=2020-10-15 with 0-byte payload
VERBOSE: received -1-byte response of content type application/json;charset=UTF-8
VERBOSE: Retrieved 22749 of 22507 total meetings
[21:46:52]:C:\Scripts\PowerShell\zoom\Scripts\Get-RobotUsage> $rangeMeetings.count
22749
[21:46:59]:C:\Scripts\PowerShell\zoom\Scripts\Get-RobotUsage> $results.total_records
22507
Screenshots (If applicable)
N/A
Additional context
As mentioned this occurred previously and was addressed