A timeout is ambiguous: the tool may have done nothing, or it may have done the work and the reply was lost. That ambiguity is why a timeout needs a recovery step, not a blind retry. First check what the tool actually did, by reading its own state or log when you can; then retry once with a shorter request, such as a smaller input or a single item instead of a batch. The n8n error guides list timeouts as a node error class of their own, and the right response is to treat the first attempt as unknown, not as failed.
What you need
- A tool that sometimes times out
- A way to check whether the tool acted: its log, its own records, or a read-back query
- A shorter version of the request to retry with
Step 1: Check what the timed-out call actually did
Before retrying, read the tool’s own records to see whether the action happened. If it did, use that result; if it did not, you may retry safely.
Step 2: Retry once with a shorter request
Retry a single time with a smaller input, such as one item instead of a batch, and a longer wait for the reply. A retry of the same large request is likely to time out again.
Step 3: Record the timeout and its outcome
Write the timeout into the run log with what you found: whether the first call acted, and whether the retry worked. A timeout with no record will be misdiagnosed next time.
Worked example: synthetic timeout recovery
The table below is a synthetic example. It shows the expected result of timeout recovery; no tool was called.
| Check | Expected | Result |
|---|---|---|
| First call checked before retry | Yes | Pass |
| Retry uses a shorter request | Yes | Pass |
| Retry succeeds | Yes | Pass |
| Timeout recorded in the log | Yes | Pass |
Expected result (UNTESTED). the timed-out call is checked first, a shorter retry succeeds, and the timeout is recorded in the log. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- A blind retry after a timeout can repeat an action that already happened.
- A shorter retry only helps when size caused the timeout; a dead tool needs a different fix.
- Some tools give no way to check what they did, so the recovery is a guess.
- One retry is enough to test recovery; repeated retries after timeouts are a loop.
