APIs & Integrations

udayapitchika
Member

Duplicate deals creation

Hi Team,

We have noticed duplicate deals getting created through EComm bridge API.

For example, These 2 deals are created from the same checkout within a few seconds apart
https://app.hubspot.com/contacts/4648806/deal/311806403/
https://app.hubspot.com/contacts/4648806/deal/311806404/

We used the same integratorObjectId (CHECKOUT:3451105837089) for all sync-messages to create/update this deal. I tried downloading these 2 deals from HubSpot using /deals/v1/deal/{dealId} endpoint but I couldn't find any reference for the integratorObjectId to troubleshoot further.

Could you please check why this deal is duplicated? Also, is there any way to get the integratorObjectId that was used to sync a contact/deal?

Few more duplicate deal examples from the same portal.

  1. 311812895 & 311812896
  2. 311908694 & 311908695

Please let me know if you need more information.

Thanks in advance,
Udaya.

0 Upvotes
7 Replies 7
udayapitchika
Member

Duplicate deals creation

Hi @Derek_Gervais,

Did you get a chance to debug more on this issue?

Thanks,
Udaya.

0 Upvotes
sduane
HubSpot Product Team
HubSpot Product Team

Duplicate deals creation

@udayapitchika I'll take a look today/tomorrow and get back with an answer

0 Upvotes
sduane
HubSpot Product Team
HubSpot Product Team

Duplicate deals creation

@udayapitchika Hmmm yuuup that's definitely a duplicate.

I saw the occasional duplicate object when I was first writing Ecommbridge, but before beta I had fixed it. This appears to be a new case.

311806403 was created first
311806404 is the currently synced one. 403 is basically a dead object now.

I'm going to dig into this more... sorry about this, that's obviously not a great look.

0 Upvotes
sduane
HubSpot Product Team
HubSpot Product Team

Duplicate deals creation

@udayapitchika Hey, so this seems to be a pretty low occurrence across the board, and I believe i've identified where the bug exists.

I'm working on a fix, hopefully by end of tomorrow or Monday.

0 Upvotes
udayapitchika
Member

Duplicate deals creation

Awesome ! You're the best @Sean_Duane :grinning:

0 Upvotes
sduane
HubSpot Product Team
HubSpot Product Team

Duplicate deals creation

@udayapitchika Apologies for the delay. Besides being a bit busy, I also wanted to ensure this was the proper fix.

No more duplicates should be created anymore, as of Friday night, so you should be all set moving forward.

I suspect existing duplicates are only a handful, so I would deal with them manually. If you want something a bit more automated, let me know.

Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Duplicate deals creation

Hi @udayapitchika,

This seems like an issue on our end but I'll need to do some more digging to be sure. I'll reach out to the team and get back to you when I have more information.

0 Upvotes