Webhooks firing twice

Highlighted
Esteemed Contributor

I'm seeing several webhooks firing twice from `deal.propertyChange` trigger.

 

the duplicate triggers get sent in the same batch and the same subscription, but have different event ids.

 

other than the event id, the payload is identical in both.

 

this is happening on several deal stages.

 

obviously, b/c we have lots of automation that gets triggered by these, it's kindof a problem.

 

here are example payloads...

 

trigger #1...

{
  "objectId": 1094503635,
  "propertyName": "dealstage",
  "propertyValue": "contact-requested",
  "changeSource": "API",
  "eventId": 375606152,
  "subscriptionId": 1793,
  "portalId": XXXXXX,
  "appId": XXXXX,
  "occurredAt": 1571166882934,
  "subscriptionType": "deal.propertyChange",
  "attemptNumber": 0
}

 trigger #2...

{
  "objectId": 1094503635,
  "propertyName": "dealstage",
  "propertyValue": "contact-requested",
  "changeSource": "API",
  "eventId": 1210013439,
  "subscriptionId": 1793,
  "portalId": XXXXXX,
  "appId": XXXXX,
  "occurredAt": 1571166882934,
  "subscriptionType": "deal.propertyChange",
  "attemptNumber": 0
}
Reply
0 Upvotes
3 Replies 3
Community Manager

Hi @gotmike,

 

I hope all is well with you 😄

 

Our team is aware of this issue and you can keep tab of the updates on this thread: https://community.hubspot.com/t5/APIs-Integrations/App-triggers-two-webhook-events-for-one-propertyC... where my colleague Leland updated a few hours ago that we have identified the caused of the depulicated notifications and is working on a fix for this.

 

Thank you for your patience here Mike!

Reply
0 Upvotes
Community Manager

Hi @gotmike,

 

Our team has pushed a fix for the above issue.

 

One thing to note, as Leland mentioned here

 

"Our Webhooks documentation here: https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview, there is a note in the payloads section:

 

NOTE ON UNIQUENESS: We do not guarantee that you will only get a single notification for an event. Though this should be rare, it is possible that we will send you the same notification multiple times.

 

So the mass duplicate notifications should be fixed now. But it is possible for duplicates to happen, albeit rarely, and certainly nowhere near the scale that was happening here."

 

Let me know if there's any further questions on this!

Reply
0 Upvotes
Esteemed Contributor

all seems fine now. that sounds like fine print. we have been using this for quite a while and never seen dupes.

Reply
0 Upvotes