# Data is not getting fetched based on to and from Date

**URL:** <https://devforum.zoom.us/t/data-is-not-getting-fetched-based-on-to-and-from-date/80009>\
**Category:** Cloud Recordings\
**Tags:** dc\
**Created:** [December 9, 2022, 8:47am UTC](https://devforum.zoom.us/t/data-is-not-getting-fetched-based-on-to-and-from-date/80009 "2022-12-09T08:47:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubham.kumar](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@shubham.kumar](https://devforum.zoom.us/u/shubham.kumar)\
**Post date:** [December 9, 2022, 8:47am UTC](https://devforum.zoom.us/t/data-is-not-getting-fetched-based-on-to-and-from-date/80009/1 "2022-12-09T08:47:18Z")

</div>

API Endpoints : GET /phone/call\_queues/{callQueueId}/recordings

My API Enpoints:  
[https://api.zoom.us/v2/phone/call\_queues/aN1b1sUCSK62S-U95hjEEg/recordings?from=2022-12-08T10:46:28Z&to=2022-12-08T11:46:28Z&page\_size=100&next\_page\_token=](https://api.zoom.us/v2/phone/call_queues/aN1b1sUCSK62S-U95hjEEg/recordings?from=2022-12-08T10:46:28Z&to=2022-12-08T11:46:28Z&page_size=100&next_page_token=)

**Description**  
i was trying to fetch the data from above call but even if i am changing the to and from value time for same date the same data is getting populated always

**Error?**  
No Error message. No proper Response

**How To Reproduce**  
_Steps to reproduce the behavior:_  
\*1. Hit the above mentioned URL  
\*2. Use Authorization as bearer token  
\*3. Use two different time from consecutive call i.e first get the data for 1am to 2 am and then 2am to 3 am for same date. Exact data will appear for both call

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 9, 2022, 3:44pm UTC](https://devforum.zoom.us/t/data-is-not-getting-fetched-based-on-to-and-from-date/80009/2 "2022-12-09T15:44:25Z")

</div>

Hi @shubham.kumar  
Hope you are doing great!  
Let me look into this issue and I will come back to your with an update!  
Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 9, 2022, 7:42pm UTC](https://devforum.zoom.us/t/data-is-not-getting-fetched-based-on-to-and-from-date/80009/3 "2022-12-09T19:42:43Z")

</div>

Hi @shubham.kumar  
I just got a response from the engineering team and they mentioned that they can not find the logs for those API calls

Our data only goes back 15 days , when these calls were made?  
Also could you please make sure to not pass a next\_page\_token parameter on your first call

---

<div class="post-metadata">

**Author:** ![shubham.kumar](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@shubham.kumar](https://devforum.zoom.us/u/shubham.kumar)\
**Post date:** [December 12, 2022, 5:52am UTC](https://devforum.zoom.us/t/data-is-not-getting-fetched-based-on-to-and-from-date/80009/4 "2022-12-12T05:52:57Z")

</div>

Hi @elisa.zoom ,

i have made those calls on last thursday and friday so the data in the logs should be present.  
Also i am not passing next page token on the first call

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 12, 2022, 1:47pm UTC](https://devforum.zoom.us/t/data-is-not-getting-fetched-based-on-to-and-from-date/80009/5 "2022-12-12T13:47:01Z")

</div>

I will send you a private message to follow up @shubham.kumar
