# Webhook triggers twice each time

**URL:** <https://community.prismic.io/t/webhook-triggers-twice-each-time/6485>\
**Category:** Developing with Prismic\
**Created:** [August 2, 2021, 6:47pm UTC](https://community.prismic.io/t/webhook-triggers-twice-each-time/6485 "2021-08-02T18:47:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabrina.gomes](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sabrina.gomes](https://community.prismic.io/u/sabrina.gomes)\
**Post date:** [August 2, 2021, 6:47pm UTC](https://community.prismic.io/t/webhook-triggers-twice-each-time/6485/1 "2021-08-02T18:47:25Z")

</div>

Hello,

I am using FaaS to forward Prismic Webhook to GitHub actions but Prismic is triggering it twice each time.  
In the documentation, it is said that it will attempt to trigger every 10 minutes but in fact the two attempts are done simultaneously. ( [Webhooks - Prismic](https://prismic.io/docs/core-concepts/webhooks#test-your-webhook) ). Could you help me with this ?

Thanks in advance,  
Best regards,

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [August 3, 2021, 7:06am UTC](https://community.prismic.io/t/webhook-triggers-twice-each-time/6485/3 "2021-08-03T07:06:06Z")

</div>

Hi @sabrina.gomes,

Thanks for posting. I'm happy to try to help you with this.

By any chance, is your webhook triggering when a release is published? If so, that should (be design) trigger twice,

1. once for the publication of the release,
2. and a second time for the deletion of the release.

The same is true if you schedule a document for publication. You will get

1. one trigger for creating a release,
2. and a second for adding a document to the release.

Let me know if that helps. You can try editing your webhook triggers in _Settings_.

If that doesn't solve the issue, could you send me a screenshot of your webhook logs, a screenshot of your webhook settings, and your repo name? (You can send it all in a DM if you want.)

Thanks,  
Sam

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [August 4, 2021, 3:23pm UTC](https://community.prismic.io/t/webhook-triggers-twice-each-time/6485/4 "2021-08-04T15:23:55Z")

</div>

Thanks for the DM, @sabrina.gomes! I'm looking into it now.

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [August 6, 2021, 12:05pm UTC](https://community.prismic.io/t/webhook-triggers-twice-each-time/6485/6 "2021-08-06T12:05:28Z")

</div>

Hi Sabrina,

I checked with the dev team, and it looks like the webhook system might not be respecting the ten-minute retry interval, so it's possible that the webhook is failing on the first attempt, and then immediately making a second attempt.

Based on the behavior you're seeing, is it possible that the first attempt is failing?

Sam

PS: I'll be off next week, but I'll make sure that one of my colleagues takes over this thread.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [August 13, 2021, 8:09pm UTC](https://community.prismic.io/t/webhook-triggers-twice-each-time/6485/10 "2021-08-13T20:09:05Z")

</div>

closed on August 13, 2021, 8:09pm UTC, flag & select 'Something Else' to reopen.

This thread has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 3:32pm UTC](https://community.prismic.io/t/webhook-triggers-twice-each-time/6485/12 "2021-12-09T15:32:30Z")

</div>

Opened on December 9, 2021, 3:32pm UTC


