Browse and search developers
Webhooks
Retries and failures
What counts as a failed webhook delivery, the 10-second timeout, five attempts with backoff, and automatic disabling after 10 consecutive failures.
On this page
Formit does not send webhooks inline with the action that triggered them. Each event becomes a delivery record that a background worker sends, so a slow or failing receiver never delays a respondent’s submit.
What counts as success
| Outcome | Result |
|---|---|
| Any 2xx status | Success. The delivery is marked Succeeded and the endpoint’s consecutive failure count resets to zero. |
| 3xx redirect | Failure. Redirects are not followed. |
| 4xx or 5xx status | Failure. The status code and the first 2,000 characters of the response body are stored on the delivery. |
| No response within 10 seconds | Failure. The request is aborted. |
| Network error (DNS, TLS, refused connection) | Failure. The error message is stored on the delivery. |
Retry schedule
A delivery gets up to 5 attempts in total: the first attempt plus up to four retries. Each failed attempt schedules the next one with a growing delay.
| Attempt | Scheduled after the previous failure |
|---|---|
| 1 | Sent as soon as a worker picks up the event |
| 2 | About 30 seconds |
| 3 | About 2 minutes |
| 4 | About 10 minutes |
| 5 | About 30 minutes |
If the fifth attempt also fails, the delivery is marked Failed and is not retried again. The app has no manual redeliver button, so build your receiver to handle missed events, for example by reconciling with GET /v1/forms/{form_id}/responses?since=… on the REST API.
Automatic disabling
Every failed attempt, not every failed delivery, adds one to the endpoint’s consecutive failure count. A successful delivery resets it to zero. When the count reaches 10, Formit disables the endpoint and records the reason "Automatically disabled after 10 consecutive delivery failures".
- Because attempts are counted, two deliveries that exhaust all retries back to back are enough to disable an endpoint.
- An endpoint whose URL fails the safety check at delivery time, for example because DNS does not resolve or the host now resolves to a private IP, is disabled immediately with that error as the reason.
- While an endpoint is disabled or paused, new events are not queued for it. Deliveries already queued or waiting to retry are marked
Failedwith the error "Webhook is inactive" without being sent. - Events that happen while the endpoint is disabled are not stored and are not sent later.
Delivery statuses
| Status in the app | Meaning |
|---|---|
| Pending | Queued, waiting for the first attempt. |
| Retrying | The last attempt failed and another one is scheduled. |
| Succeeded | Your endpoint returned a 2xx status. |
| Failed | Attempts exhausted, or a fatal error such as an inactive endpoint or an unsafe URL. |
See deliveries and re-enable an endpoint
- Open a form, go to
Integrations, openWebhooksand select the endpoint. The list shows each endpoint asActive,Paused(switched off by hand) orDisabled(switched off by Formit, with a reason). - Scroll to
Delivery logs. It shows up to the 100 most recent deliveries, with event type, status, HTTP status, attempt count (for example2/5 attempts) and latency. Use the refresh button to reload. - Expand
Detailson a delivery to see its delivery id and the stored response or error. - Fix the cause on your side, then turn the
Enabledswitch back on. Re-enabling clears the disabled reason and resets the failure count to zero. - Click
Send test eventto confirm the endpoint works again.
Re-enabling only affects new events. Deliveries that already failed stay failed.
Related
Can't find what you need?