✅ Note: This mechanism is applicable if the user has the “Retry if error” checkbox checked in the webhook (checked by default). |
Step 1: Record unsent webhook in the database
When your webhook fails to reach its target for some reason, it is recorded in the table with a note about the failed dispatch.
Step 2: Record retry attempts
The number of retry attempts for each unsent webhook is recorded separately.
Step 3: Attempt to resend the webhook
When a webhook is queued for resend, it is processed. The resend happens according to the following algorithm:
- The delay time before each retry is calculated using the formula: 2^n, where 2 is the number of seconds, n is the retry attempt number.
- The value of n reaches a maximum limit of 5 attempts, after which, in the case of 5 unsuccessful dispatches, the webhook will no longer attempt to resend.
- Approximately 9 hours pass between the 14th and 5th dispatch attempts.
- In total, approximately 18 hours are spent for 5 retry attempts.
Also see:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article