# Webhooks I set are auto-turned off by Baserow when they fail ~3 times

**URL:** https://community.baserow.io/t/webhooks-i-set-are-auto-turned-off-by-baserow-when-they-fail-3-times/7971
**Category:** Baserow Help
**Tags:** webhook
**Created:** [November 27, 2024, 10:05pm UTC](https://community.baserow.io/t/webhooks-i-set-are-auto-turned-off-by-baserow-when-they-fail-3-times/7971 "2024-11-27T22:05:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cameronpak](https://community.baserow.io/user_avatar/community.baserow.io/cameronpak/32/2259_2.png) [@cameronpak](https://community.baserow.io/u/cameronpak)
#### Post date: [November 27, 2024, 10:05pm UTC](https://community.baserow.io/t/webhooks-i-set-are-auto-turned-off-by-baserow-when-they-fail-3-times/7971/1 "2024-11-27T22:05:48Z")

</div>

Please fill in the questionnaire below.

## Help Questionnaire

### Describe the problem

#### Describe, step by step, how to reproduce the error or problem you are encountering.

Given I have a webhook running on a Baserow table row change, when my webhook that it hits fails ~3 times, Baserow gives up on the webhook entirely and fails to notify me that it turned off my webhook.

Now, I need that webhook to run always. Does this mean I have to fix my webhook endpoint to never return a 400 or 500 error?

I want to see if others have run into this problem and what solutions you might have to offer. Thanks!

#### How many rows in total do you have in your Baserow tables?

Around 2,000 rows.

#### Please attach full logs from all of Baserow’s services

n/a

---

<div class="post-metadata">

### Author: ![bram](https://community.baserow.io/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@bram](https://community.baserow.io/u/bram)
#### Post date: [November 29, 2024, 9:06am UTC](https://community.baserow.io/t/webhooks-i-set-are-auto-turned-off-by-baserow-when-they-fail-3-times/7971/2 "2024-11-29T09:06:08Z")

</div>

Hey @cameronpak, there indeed is a system that deactivates a webhook. This is protected the system from constantly trying to repeat a webhook call that’s failing. By default, a webhook call is retried 8 times, and is also deactivated after 8 tries.

If your server responds with a 400 or 500 errors, then it marks the request as failed. Ideally, your server responds with a 20X status code to notify that the webhook was successfully delivered.

If you’re self-hosting, then you can change these environment variables `BASEROW_WEBHOOKS_MAX_CONSECUTIVE_TRIGGER_FAILURES` and `BASEROW_WEBHOOKS_MAX_RETRIES_PER_CALL` to increase the limits. More info about them on [Configuring Baserow](https://baserow.io/docs/installation%2Fconfiguration).

---

<div class="post-metadata">

### Author: ![cameronpak](https://community.baserow.io/user_avatar/community.baserow.io/cameronpak/32/2259_2.png) [@cameronpak](https://community.baserow.io/u/cameronpak)
#### Post date: [December 23, 2024, 5:06pm UTC](https://community.baserow.io/t/webhooks-i-set-are-auto-turned-off-by-baserow-when-they-fail-3-times/7971/3 "2024-12-23T17:06:44Z")

</div>

Hey Bram, appreciate you! Sorry I didn’t see your response.

I’m using the cloud Baserow, so not self-hosted. I did a weird hacky thing and made my webhook endpoints always return 20X status code even if erroring and then just emails me the error.

---

<div class="post-metadata">

### Author: ![bram](https://community.baserow.io/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@bram](https://community.baserow.io/u/bram)
#### Post date: [December 24, 2024, 9:25am UTC](https://community.baserow.io/t/webhooks-i-set-are-auto-turned-off-by-baserow-when-they-fail-3-times/7971/4 "2024-12-24T09:25:06Z")

</div>

Glad to hear that it’s now working for you. That would definitely prevent the webhooks from being disabled on the side of Baserow.
