# Missing next\_page\_token and wrong total\_records in response body

**URL:** <https://devforum.zoom.us/t/missing-next-page-token-and-wrong-total-records-in-response-body/95105>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [September 14, 2023, 10:42am UTC](https://devforum.zoom.us/t/missing-next-page-token-and-wrong-total-records-in-response-body/95105 "2023-09-14T10:42:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![c4v-daniel](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@c4v-daniel](https://devforum.zoom.us/u/c4v-daniel)\
**Post date:** [September 14, 2023, 10:42am UTC](https://devforum.zoom.us/t/missing-next-page-token-and-wrong-total-records-in-response-body/95105/1 "2023-09-14T10:42:15Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
[https://api.zoom.us/v2/phone/reports/call\_charges](https://api.zoom.us/v2/phone/reports/call_charges)

**Description**  
I’m requesting some reports for my account about call charges usage via the REST-API.

**Error?**  
No error message, but the total\_records value is wrong and just replicates the page\_size and therefore the next\_page\_token is missing.

**How To Reproduce**

1. Request with page\_size = 30\*  
/phone/reports/call\_charges?page\_size=30  
‘next\_page\_token’ = {str} ‘’  
‘page\_size’ = {int} 30  
‘total\_records’ = {int} 30  
‘from’ = {str} ‘2023-08-14’  
‘to’ = {str} ‘2023-09-14’

2. Request with page\_size = 300\*  
/phone/reports/call\_charges?page\_size=300  
‘next\_page\_token’ = {str} ‘’  
‘page\_size’ = {int} 300  
‘total\_records’ = {int} 300  
‘from’ = {str} ‘2023-08-14’  
‘to’ = {str} ‘2023-09-14’

Both requests are for the same account and same timeframe, but neither provide the next\_page\_token despite the second requests proves that there are more records available.

---

<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:** [September 17, 2024, 2:18am UTC](https://devforum.zoom.us/t/missing-next-page-token-and-wrong-total-records-in-response-body/95105/2 "2024-09-17T02:18:25Z")

</div>

Closed on September 17, 2024, 2:18am UTC

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