# Duplicate Webhook Event

**URL:** <https://developer.squareup.com/forums/t/duplicate-webhook-event/19015>\
**Category:** Questions\
**Tags:** payments-api, webhooks-api\
**Created:** [October 3, 2024, 12:34pm UTC](https://developer.squareup.com/forums/t/duplicate-webhook-event/19015 "2024-10-03T12:34:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsimmons](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bsimmons/32/7576_2.png) [@bsimmons](https://developer.squareup.com/forums/u/bsimmons)\
**Post date:** [October 3, 2024, 12:34pm UTC](https://developer.squareup.com/forums/t/duplicate-webhook-event/19015/1 "2024-10-03T12:34:07Z")

</div>

Hi!  
It’s only happened once so far, on the first production webhook I received, but I’ve seen its happened a couple times on the forum.

Square sent me 2 (likely identical) webhook notifications as received by my server:  
` **.**.**.154 - - [[03/Oct/2024:11:07:17 +0930]] 204 -`  
` **.**.**.154 - - [[03/Oct/2024:11:07:17 +0930]] 204 -`

Square however only shows 1 event:  
Event ID: `5b4fb681-e123-3d59-80a3-684f90bcf79a`  
Triggered at: `2024-10-03 11:07:16 GMT+9:30`  
Sent at: `2024-10-03 11:07:16 GMT+9:30`

My application forwarded these notifications onto another service where there were duplicate entries dated:  
`03-Oct-2024 01:37:18.411`  
`03-Oct-2024 01:37:18.368`

I don’t know if it was a retry from Square, but they were both within a second.

It shouldn’t cause an issue in the future as I’ve worked around it.

Just wondering if someone could explain why I may have received 2 notifications.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [October 3, 2024, 12:34pm UTC](https://developer.squareup.com/forums/t/duplicate-webhook-event/19015/2 "2024-10-03T12:34:22Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Webhook Event Logs](https://developer.squareup.com/docs/devtools/webhook-logs)**
>
> Provides an overview of the webhook event logs feature that shows the webhook event triggered during an API call.

> **[Payments API Webhooks](https://developer.squareup.com/docs/payments-api/webhooks)**
>
> Learn about the Square webhook notifications supported by the Payments API.

> **Additional Documentation**
>
> [Use Webhooks to Integrate with a Payroll System](https://developer.squareup.com/docs/labor-api/webhooks)  
> [Refunds API Webhooks](https://developer.squareup.com/docs/refunds-api/webhooks)  
> [Handle Inventory Event Notifications](https://developer.squareup.com/docs/inventory-api/webhooks)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [October 3, 2024, 5:37pm UTC](https://developer.squareup.com/forums/t/duplicate-webhook-event/19015/3 "2024-10-03T17:37:48Z")

</div>

The duplicate webhook notifications you received could be due to a network issue or a temporary glitch on Square’s end. However, Square’s system is designed to ensure that each webhook event is delivered exactly once. If your endpoint doesn’t acknowledge receipt of the notification with a 200 HTTP status code within 10 seconds, Square may attempt to deliver the notification again.

In your case, it seems like both notifications were acknowledged with a 204 status code, which might indicate that they were indeed duplicates. It’s good that you’ve implemented a workaround to handle such scenarios. If this issue persists, it might be worth reaching out to Square’s Developer Support for further investigation.

_This answer was reviewed by @Bryan-Square._
