# Meeting/Participants API: code 300, The next page token is invalid or expired

**URL:** <https://devforum.zoom.us/t/meeting-participants-api-code-300-the-next-page-token-is-invalid-or-expired/59915>\
**Category:** API and Webhooks\
**Created:** [November 8, 2021, 9:40am UTC](https://devforum.zoom.us/t/meeting-participants-api-code-300-the-next-page-token-is-invalid-or-expired/59915 "2021-11-08T09:40:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thulasidhar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thulasidhar/32/26902_2.png) [@thulasidhar](https://devforum.zoom.us/u/thulasidhar)\
**Post date:** [November 8, 2021, 9:40am UTC](https://devforum.zoom.us/t/meeting-participants-api-code-300-the-next-page-token-is-invalid-or-expired/59915/1 "2021-11-08T09:40:50Z")

</div>

**Description**  
I have a scenario of 6 meetings which multiple meeting instances under each of them.  
When I try to get meetings/{uuid}/participants for all of them sequentially, there is no error.

But I want to make this API run faster, so I would like to run the fetch for the the 6 meetingIds in parallel, (using Promise.all())  
There are 6 parallel tasks which do the following:  
Step 1 - Fetch the meeting instances under the meeting Id  
Step 2 - Fetch the list of participants under each meeting instance, using pagination (page\_size = 300)  
When fetching the second page in Step 2, I get the ‘The next page token is invalid or expired’ error  
There is less than 100ms gap between the calls, so the token cannot be expired.

The only difference between this and the previous approach is that all the calls are done sequentially in the first approach, while in the second one each meetings’ report is fetched in parallel.  
Is there any issue if we call these report apis in parallel, which would result in the next\_page\_token getting invalidated?

**Error**  
code 300, The next page token is invalid or expired

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

**Which Endpoint/s?**  
report/meetings/{meeting\_uuid}/participants

---

<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:** [November 10, 2021, 1:16pm UTC](https://devforum.zoom.us/t/meeting-participants-api-code-300-the-next-page-token-is-invalid-or-expired/59915/2 "2021-11-10T13:16:34Z")

</div>

Hey @thulasidhar,

Is it possible to share a snippet of the code you’re running? (minus any sensitive details) It’s possible there could be some kind of race condition interfering with the interpretation of the request’s next\_page\_token. But I’m happy to take a closer look.

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:** [December 10, 2021, 11:16pm UTC](https://devforum.zoom.us/t/meeting-participants-api-code-300-the-next-page-token-is-invalid-or-expired/59915/3 "2021-12-10T23:16:56Z")

</div>

Closed on December 10, 2021, 11:16pm UTC

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