Next_page_token not changing in /v2/metrics/meetings


I’m having a problem with the next_page_token not updating on calls to list meetings.
Using the python zoomus library, but I’m to the point where I’m logging the http requests and checking the returned JSON.

Basically I see the initial call to list meetings, then I dump out the data returned. I call for the next page using the next_page_token and all I get back is the first page again.

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool: "GET /v2/metrics/meetings HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool: "GET /v2/metrics/meetings?next_page_token=T4e2Ciw7eyOKnpqDm0ZpRid5pIZ8F21d0J2 HTTP/1.1" 200 None

When I dump out the returned JSON the next page token from the first call is the same as that of the second call with next_page_token set. I think the behavior should be to return a new next_page_token

‘—Call with no token—’
‘next_page_token’: ‘T4e2Ciw7eyOKnpqDm0ZpRid5pIZ8F21d0J2’,
‘—Call with no token—’
‘—Call with token—’
‘next_page_token’: ‘T4e2Ciw7eyOKnpqDm0ZpRid5pIZ8F21d0J2’,
‘—Call with token—’

Code snip

# get list of current meetings
meetings_resp = client.metric.list_meetings()
meetings_json = json.loads(meetings_resp.content)
page_count = meetings_json['page_count']
meeting_list = []
pprint("---Call with no token---")
pprint("---Call with no token---")

for i in range(1,page_count):
    for meeting in meetings_json['meetings']:
    meetings_resp = client.metric.list_meetings(next_page_token=next_page_token)
    meeting_json = json.loads(meetings_resp.content)
    pprint("---Call with token---")
    pprint("---Call with token---")

I exit out of the loop early so I don’t make a bunch of call that al return the same data, we have alot of meetings.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT/python library

Which Endpoint/s?

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Install zoomus library from github (the latest has metrics support)
  2. call to list meetings
  3. try to iterate with next_page_token
  4. fail - bang head

Additional context
Hoping there is just something easy I have overlooked.

Hey @jwc3f,

I am not able to reproduce this issue.

Are you able to see this issue when testing in postman?

Can you share all the query params you are setting so I can try to reproduce?