# Issue with API Pagination for Customers Endpoint

**URL:** <https://developer-forum.veeqo.com/t/issue-with-api-pagination-for-customers-endpoint/1035>\
**Category:** API Queries (How To)\
**Created:** [May 13, 2024, 10:40am UTC](https://developer-forum.veeqo.com/t/issue-with-api-pagination-for-customers-endpoint/1035 "2024-05-13T10:40:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sooriya](https://avatars.discourse-cdn.com/v4/letter/s/7A66F9/32.png) [@Sooriya](https://developer-forum.veeqo.com/u/Sooriya)\
**Post date:** [May 13, 2024, 10:40am UTC](https://developer-forum.veeqo.com/t/issue-with-api-pagination-for-customers-endpoint/1035/1 "2024-05-13T10:40:58Z")

</div>

Hi Team,

I wanted to bring to your attention an issue we’ve encountered with the Veeqo API while retrieving customer-related data for our users.

**Issue:**  
Upon investigation, we found that one of our users has a total record count of 232,632 in the customers endpoint. We’ve configured our API request to set the page\_size to 100, aiming to fetch the maximum data per page allowed by the API. Consequently, the total page count should logically be 2,327. However, according to the `X-Total-Pages-Count` attribute in the API response header, it’s indicating that the total page count is 100. Strangely, we’re receiving the same data as the 100th page repeatedly after the 100th page.

\*\*  
  
  
  
Request:\*\*  
We seek clarification on the following points:

1. Why is the page count restricted to 100 when it should theoretically be 2,327?
2. Is there a limitation on the API regarding fetching only 1000 records?
3. If such a limitation exists, does it apply to all endpoints?
4. Is there a method to fetch all records from the customers endpoint?

Your prompt assistance in resolving this matter would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![sebvargs](https://avatars.discourse-cdn.com/v4/letter/s/36C2B4/32.png) [@sebvargs](https://developer-forum.veeqo.com/u/sebvargs)\
**Post date:** [May 15, 2024, 6:47pm UTC](https://developer-forum.veeqo.com/t/issue-with-api-pagination-for-customers-endpoint/1035/2 "2024-05-15T18:47:05Z")

</div>

Hello @Sooriya ,

Thank you for raising this concern to us, we have raised an internal ticket to our development team so they can further investigate this problem and provide some answers to your questions.

Have a nice day!

---

<div class="post-metadata">

**Author:** ![Sooriya](https://avatars.discourse-cdn.com/v4/letter/s/7A66F9/32.png) [@Sooriya](https://developer-forum.veeqo.com/u/Sooriya)\
**Post date:** [May 17, 2024, 4:52am UTC](https://developer-forum.veeqo.com/t/issue-with-api-pagination-for-customers-endpoint/1035/3 "2024-05-17T04:52:39Z")

</div>

Hi @sebvargs, Thanks for looking into this. Any update on this?

---

<div class="post-metadata">

**Author:** ![sebvargs](https://avatars.discourse-cdn.com/v4/letter/s/36C2B4/32.png) [@sebvargs](https://developer-forum.veeqo.com/u/sebvargs)\
**Post date:** [May 29, 2024, 4:39pm UTC](https://developer-forum.veeqo.com/t/issue-with-api-pagination-for-customers-endpoint/1035/4 "2024-05-29T16:39:46Z")

</div>

Hello @Sooriya ,

Sorry for late response on this one I was out of the office.

Unfortunately, I can’t see any updates from the developers on the ticket i have raised, they will for sure work on this as soon as possible.

I’ll let you know if I have any updates.

Have a nice day!
