# Cannot find user info in an API in different situations

**URL:** <https://devforum.zoom.us/t/cannot-find-user-info-in-an-api-in-different-situations/17166>\
**Category:** API and Webhooks\
**Created:** [May 12, 2020, 2:26am UTC](https://devforum.zoom.us/t/cannot-find-user-info-in-an-api-in-different-situations/17166 "2020-05-12T02:26:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eureka](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@eureka](https://devforum.zoom.us/u/eureka)\
**Post date:** [May 12, 2020, 2:26am UTC](https://devforum.zoom.us/t/cannot-find-user-info-in-an-api-in-different-situations/17166/1 "2020-05-12T02:26:30Z")

</div>

**Description**  
I cannot receive a user info range of multiple dates, but if I designate specific date, it will be returned.  
Detail symptoms are below.

**Error**  
N/A

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

**Which Endpoint/s?**  
/report/users

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

1. Request URL / Headers (without credentials) / Body

params = { **‘from’: ‘2020-05-11’** , ‘page\_size’: 300, ' **to’: ‘2020-05-11’** , ‘type’: ‘active’}  
‘eureka’ in str(requests.get(url, headers=headers, params=params, verify=False).json()[‘users’])  
==\> **True** # ‘eureka’ is a user’s email id

params = { **‘from’: ‘2020-05-10’** , ‘page\_size’: 300, **‘to’: ‘2020-05-12’** , ‘type’: ‘active’}  
‘eureka’ in str(requests.get(url, headers=headers, params=params, verify=False).json()[‘users’])  
==\> **False**

requests.get(url, headers=headers, params=params, verify=False).json()[‘page\_count’]  
==\> total page count : 1 # don’t need to pagenate

1. See error

- eureka user info is in a day of “2020-05-11”
- but, eureka user info not in “2020-05-10 ~ 2020-05-12”  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e0f0084da870e20b4b80330ca8b1c534ed79f829.png)

Why this situation was occurred?

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 15, 2020, 7:36pm UTC](https://devforum.zoom.us/t/cannot-find-user-info-in-an-api-in-different-situations/17166/2 "2020-05-15T19:36:17Z")

</div>

Hi @eureka, my first hunch would be that the response on the second request (2020-05-10 to 2020-05-12) is [paginated](https://marketplace.zoom.us/docs/api-reference/pagination), with 300 requests per page. Use a `next_page_token` to get the next page of responses.

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:20pm UTC](https://devforum.zoom.us/t/cannot-find-user-info-in-an-api-in-different-situations/17166/3 "2020-08-21T21:20:15Z")

</div>

Closed on August 21, 2020, 9:20pm UTC


