# Merge deals problems

**URL:** <https://community.hubspot.com/t/merge-deals-problems/38663>\
**Category:** CRM\
**Tags:** object\
**Created:** [June 9, 2021, 11:02pm UTC](https://community.hubspot.com/t/merge-deals-problems/38663 "2021-06-09T23:02:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KLai](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/klai/32/48165_2.png) [@KLai](https://community.hubspot.com/u/KLai)\
**Post date:** [June 9, 2021, 11:02pm UTC](https://community.hubspot.com/t/merge-deals-problems/38663/1 "2021-06-09T23:02:38Z")

</div>

After merging some duplicate deals I experienced duplicate deals download via API. So I have to prevent this from happening from fixing my side of code. Do you have similar issue from other customers?

---

<div class="post-metadata">

**Author:** ![StefaniUAT](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stefaniuat/32/83218_2.png) [@StefaniUAT](https://community.hubspot.com/u/StefaniUAT)\
**Post date:** [June 10, 2021, 5:03am UTC](https://community.hubspot.com/t/merge-deals-problems/38663/2 "2021-06-10T05:03:44Z")

</div>

Hi @KLai, are you A. only creating new deals or B. Creating new deals + using the unique identifier to update existing deals?

If possible, can you also send a URL to the HubSpot documentation of the code you are using to input information into your HubSpot account via the API or screenshot of the code ( **with API + any other confidential information redacted!!** )

Thank you! I also found a bunch of search results also if you happen to want a quick answer, scroll, and sees one that applies. [https://community.hubspot.com/t5/forums/searchpage/tab/message?advanced=false&allow\_punctuation=false&filter=location&location=category:hubspot\_community\_en&q=duplicate%20deals%20API](https://community.hubspot.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=location&location=category:hubspot_community_en&q=duplicate%20deals%20API)

---

<div class="post-metadata">

**Author:** ![KLai](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/klai/32/48165_2.png) [@KLai](https://community.hubspot.com/u/KLai)\
**Post date:** [June 28, 2021, 9:52pm UTC](https://community.hubspot.com/t/merge-deals-problems/38663/3 "2021-06-28T21:52:14Z")

</div>

Hi Stefani, thanks but I have solved it from my database query side. I appreciate your response. This is more for your aknowledgement.
