NOVIX / Reliability guides

Retry 429, 5xx and Timeout Failures in n8n Without Creating New Problems

A retry is useful only when the failure is temporary and repeating the operation is safe. Treat “retry policy” and “duplicate prevention” as one design problem, not two separate settings.

Classify before retrying

429 usually signals rate limiting. 5xx may be transient server failure. Network timeouts can be ambiguous: the remote system may have completed the request even when your workflow never received the response. By contrast, many 4xx responses indicate a request that will continue failing until its input or authorization changes.

Use bounded backoff

Retry a finite number of times, increasing the delay between attempts. If a service supplies a retry-after signal, respect it. A tight retry loop can turn a temporary outage into a larger incident.

Protect mutations

For create, send, charge, or update operations, use a provider idempotency key or a durable processed-event key whenever available. A timeout after a successful remote write is the classic path to accidental duplicates.

Keep terminal failures visible

After the final permitted retry, route the execution into an observable failure path: capture the workflow, failed node, execution reference, event key, response status and a privacy-safe error summary. Do not silently swallow the failure.

Test the retry boundary

Operational note

n8n’s execution history can be used to inspect and retry failed workflow executions; for production reliability, combine that capability with a workflow-specific retry policy and duplicate-safe side effects.

Reference: n8n documentation — All executions and retrying failed workflows.

The n8n Reliability Kit includes a generic HTTP retry starting point plus an error-workflow template, duplicate-prevention template and bilingual runbooks.

View fixed-price licenses

This guide is generic operational guidance. Retry behavior must be adapted to the API contract and side effects of the system you integrate.