# API get contacts issue

**URL:** <https://forum.mautic.org/t/api-get-contacts-issue/30330>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [December 27, 2023, 5:11pm UTC](https://forum.mautic.org/t/api-get-contacts-issue/30330 "2023-12-27T17:11:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JuancaR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/juancar/32/11097_2.png) [@JuancaR](https://forum.mautic.org/u/JuancaR)\
**Post date:** [December 27, 2023, 5:11pm UTC](https://forum.mautic.org/t/api-get-contacts-issue/30330/1 "2023-12-27T17:11:56Z")

</div>

**Your software**  
My Mautic version is: 4.4.9  
My PHP version is: 7.4.14  
My Database type and version is: MariaDB 10.3.39

**Your problem**  
My problem is:  
I’m using the mautic API to get all the contact of a user. The user has around 37810 contacts, and they are recovered in batch of 5000. However along the interactions, many users are being recovered multiple times (same contact\_id and same rest of contact information), even though I am updating properly the limit and start parameters in the requests

At the end of the process no all the contacts have been recovered because even though 37810 contacts and recovered, many of them are duplicated.

These errors are showing in the log:

Steps I have tried to fix the problem:
