# Error code 429 using next\_page\_token despite timer

**URL:** <https://devforum.zoom.us/t/error-code-429-using-next-page-token-despite-timer/62809>\
**Category:** API and Webhooks\
**Created:** [January 18, 2022, 9:33am UTC](https://devforum.zoom.us/t/error-code-429-using-next-page-token-despite-timer/62809 "2022-01-18T09:33:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ClementC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/clementc/32/8521_2.png) [@ClementC](https://devforum.zoom.us/u/ClementC)\
**Post date:** [January 18, 2022, 9:33am UTC](https://devforum.zoom.us/t/error-code-429-using-next-page-token-despite-timer/62809/1 "2022-01-18T09:33:11Z")

</div>

**Description**  
Hello all, we are trying to collect meeting details for a period of time and to browse through the pages results to get all the data we need.  
When trying to ready through the pages using next\_page\_token the API is returning a code 429 for too many API calls despite using a time to make only 1 API call per second. How to get around this issue ?

**Error**  
{“code”:429,“message”:“You have reached the maximum per-minute rate limit for this API. Try again later.”}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
API call on [https://api.zoom.us/v2/metrics/meetings](https://api.zoom.us/v2/metrics/meetings) using JWT

**Which Endpoint/s?**  
([https://api.zoom.us/v2/metrics/meetings](https://api.zoom.us/v2/metrics/meetings))

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
Execute the code below with an active token

```auto
    $from = "2021-12-05"
    $to = "2022-01-05"
    $GetMeetingsUsage = Invoke-RestMethod "https://api.zoom.us/v2/metrics/meetings?page_size=300&include_fields=tracking_fields&type=past&from=$from&to=$to" -Method 'GET' -Headers $headers #-TimeoutSec 0.015
    $GetMeetingsUsage.total_records

```

# in this example, total records = 14015

# and page count = 47

# then running the below to browse through all results pages, using a time to make 1 API call per second

```auto
        do{
            $n = $n + 1
            $nextpagetoken = $GetMeetingsUsage.next_page_token
            Clear-Variable -name GetMeetingsUsage
            $GetMeetingsUsage = Invoke-RestMethod "https://api.zoom.us/v2/metrics/meetings?page_size=300&include_fields=tracking_fields&type=past&from=$from&to=$to&next_page_token=$nextpagetoken" -Method 'GET' -Headers $headers
            $GrandTotalMeetings = $GrandTotalMeetings + $GetMeetingsUsage.meetings
            Start-Sleep 1
            Write-Host "page " $n " token : " $GetMeetingsUsage.next_page_token
            
        }
         until ($null -eq $nextpagetoken)

```

# throwing the code 429 despite the 1 second timer between each API call.

# it seems the script is able to execute 33 API calls before returning error 429

Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 24, 2022, 11:42pm UTC](https://devforum.zoom.us/t/error-code-429-using-next-page-token-despite-timer/62809/2 "2022-01-24T23:42:52Z")

</div>

@ClementC Thanks for reaching out!

It looks like this is happening because the [List Meetings Dashboard API](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetings) has a _Resource Intensive_ [Rate Limit](https://marketplace.zoom.us/docs/api-reference/rate-limits) label:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/0/0096a50aab1d16ffb6d962c2726ad5a9bda97ee8.png)

If you don’t need to query for live meetings, you can try using the [List Meetings API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings) which has a _Medium_ rate limit label.

I hope that helps! Let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![ClementC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/clementc/32/8521_2.png) [@ClementC](https://devforum.zoom.us/u/ClementC)\
**Post date:** [January 25, 2022, 8:53am UTC](https://devforum.zoom.us/t/error-code-429-using-next-page-token-despite-timer/62809/3 "2022-01-25T08:53:49Z")

</div>

Hello Max, thank you for jumping in.  
Unfortunately, the purpose of this work is to be able to measure how many minutes of meeting are done with our CRC video codecs (filtering all meetings where the meeting details attribute has\_sip -eq $true)  
We cannot accomplish the same using the List Meetings API (or using the “get crc usage” API)  
Would you have a suggestion how we can build automatic reports of the Zoom meeting usage that includes CRC/video codec devices ?  
Thank you

---

<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:** [February 24, 2022, 6:54pm UTC](https://devforum.zoom.us/t/error-code-429-using-next-page-token-despite-timer/62809/4 "2022-02-24T18:54:22Z")

</div>

Closed on February 24, 2022, 6:54pm UTC

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