# Dashboard Meetings API - Next Page Token in Invalid or Expired

**URL:** <https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179>\
**Category:** API and Webhooks\
**Created:** [July 15, 2021, 8:27am UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179 "2021-07-15T08:27:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaganagaj](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jaganagaj](https://devforum.zoom.us/u/jaganagaj)\
**Post date:** [July 15, 2021, 8:27am UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179/1 "2021-07-15T08:27:35Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I was loading the meetings and then gathering the participant for each meeting one at a time. Running into the 400 error.

And I totally disagree with below ticket.

> [@Some issue with next\_page\_token in list meetings](https://devforum.zoom.us/t/some-issue-with-next-page-token-in-list-meetings/7975):
>
> Hi ! I have daily process that receive all past day meeting to my SQL Database. Usually it work fine, but sometime it fail on bad request (400) for my check the problem is with next page token , although it’s run 2 minute after past link ended, so it has to be not expired. I call URL like this : [https://api.zoom.us/v2/metrics/meetings?type=past&from=2020-02-05&to=2020-02-06&page\_size=300&next\_page\_token=IKj1iCjmezCKou17qcjIzhtXI5Ewnr9vwo7&access\_token=myJWTToken](https://api.zoom.us/v2/metrics/meetings?type=past&from=2020-02-05&to=2020-02-06&page_size=300&next_page_token=IKj1iCjmezCKou17qcjIzhtXI5Ewnr9vwo7&access_token=myJWTToken) I have a theory - maybe th…

Because, I have seen List of Meetings (without participants) ran for more than 9 hours (without 400 Bad Request). Means, the time difference between initial request and final request is 9 hours and 30 minutes.

**Error**

“code”:400,“message”:“400 Bad Request”,“body”:“{"code":300,"message":"The next page token is invalid or expired."}”

“x\_ratelimit\_category”:“Resource-intensive”,  
“x\_ratelimit\_limit”:“60000”,  
“x\_ratelimit\_remaining”:“14554”}}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
/metrics/meetings/  
/metrics/meetings/{meeting\_id}/participants

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

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**

.

**Additional context**  
The same request (from and to) works some time and does not some time. it is intermittent.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [July 16, 2021, 12:39pm UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179/2 "2021-07-16T12:39:41Z")

</div>

Hi, @jaganagaj,

Thank you for using the Zoom Developer Forum. Are you able to share an example where the time difference between initial request and final request exceeds the next\_page\_token expiration period ?

This information will help to diagnose what may be happening.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![jaganagaj](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jaganagaj](https://devforum.zoom.us/u/jaganagaj)\
**Post date:** [July 17, 2021, 3:11am UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179/3 "2021-07-17T03:11:11Z")

</div>

Hi Donte,  
I am afraid, that you misunderstood my words.  
In one of your previous Zoom Dev Forum ticket (copied link), it was said that if pagination request is issued after 15 minutes from your first request, this issue will happen.  
For this, I have clarified, I have seen time difference between first request and last request was almost 9.5 hours and still it worked fine for me. For same from and to, it works one time (time taken 43 minutes) , fails one time.

Here is my example.  
m\_next\_page\_token= null;  
do  
{  
res = List meetings (limit: 300, next\_page\_token: {m\_next\_page\_token});  
m\_next\_page\_token = res.next\_page\_token;  
For each meeting  
{  
mp\_next\_page\_token = null;  
do  
{  
mp\_res = Get List Participants (meeting\_id: {meeting\_id} , limit: 300, next\_page\_token: {mp\_next\_page\_token});  
mp\_next\_page\_token = mp\_res.next\_page\_token;  
}while(!mp\_next\_page\_token);  
}  
}while(!m\_next\_page\_token);

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [July 23, 2021, 2:37pm UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179/4 "2021-07-23T14:37:17Z")

</div>

Hi @jaganagaj,

Can you share the exact request URL you used, including the params and their values? Please confirm the approximate timestamp of the request as well—we can take a closer look and check our logs for more details.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![jaganagaj](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jaganagaj](https://devforum.zoom.us/u/jaganagaj)\
**Post date:** [July 24, 2021, 3:46am UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179/5 "2021-07-24T03:46:32Z")

</div>

Datetime - 07/22/2021 12:13 pm SGT  
Request URL - [https://api.zoom.us/v2/metrics/meetings](https://api.zoom.us/v2/metrics/meetings)  
type: past, from: 2021-06-30, to: 2021-07-21, page\_size: 300, next\_page\_token: f5XOV0f1LXwMu3I7Up3gLKhRSkti7u91nm165

The above request is the 189th page request out of 449. The time difference between the first request and failed request is 7 minutes.

Datetime- 07/15/2021 09:06 am SGT

Request URL -  
“next\_page\_token”: “085QfvXLypMfcvqlIfz9l1gdLoSHO1yF9922”, “type”: “past”, “from”: “2021-07-01”, “to”: “2021-07-02”, “page\_size”: “300”

The above is the 24th request out of 32 pages.

Datetime - 07/14/2021 05:43 pm SGT  
Request URL -  
next\_page\_token: iMQYXUEiFC7FQhCbg0rOT5RpIVdhsajDNv20, type: past, from: 2021-07-01, to: 2021-07-02, page\_size: 300

I was not allowed to enter links. So removed URL in other requests.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [July 26, 2021, 10:19pm UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179/6 "2021-07-26T22:19:52Z")

</div>

Hi @jaganagaj,

Thanks for emailing us directly—we’re looking into this for you and will follow up over email directly. (ZOOM-295318)

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 26, 2021, 8:20am UTC](https://devforum.zoom.us/t/dashboard-meetings-api-next-page-token-in-invalid-or-expired/54179/7 "2021-08-26T08:20:11Z")

</div>

Closed on August 26, 2021, 8:20am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
