Steps
Work out which limit you hit
A 429 means the API wants you to slow down, but there are three kinds of limit: too many calls per second (pacing fixes it), too many calls at the same time (send one at a time), and a daily or monthly quota (only fewer calls fix it). The API's docs say which. Many APIs also send
Retry-Afterorx-ratelimit-remainingheaders; to see them, open the HTTP Request node, choose Add Option → Response and turn on Include Response Headers and Status.Quick fix: turn on Retry On Fail
Open the node, go to its Settings tab, enable Retry On Fail and set Max Tries and Wait Between Tries (ms). Every node has this, not just HTTP Request, so it works for the OpenAI or Google Sheets nodes too. Read the limits below first: n8n allows at most 5 tries and 5 seconds between them, and it re-runs the whole node, so every item is sent again.
Pace your calls: Batching
In the HTTP Request node choose Add Option → Batching and set Items per Batch to
1and Batch Interval (ms) to1000for one call per second. Without it, the node fires all items at once: in our test, three requests left in the same millisecond. Adding Batching and leaving the defaults sends 50 items per batch, so change the number. For nodes without this option, use Loop Over Items plus a Wait node.Honour Retry-After with a small loop
When the API says how long to wait, wait exactly that long and retry only the items that failed. Download the 429 Retry-After loop workflow (free, no credentials inside), import it with Workflows → Import from file, put your call in Call the API and your data in Your items. How it works is shown below.
Stop parallel runs from flooding the API
Pacing inside one execution doesn't help if a webhook or schedule starts many executions at once: each one waits politely and together they still hit the limit. On self-hosted n8n, set
N8N_CONCURRENCY_PRODUCTION_LIMIT=1(or a small number) so production executions queue up instead of running side by side. Then add the error alert workflow so a run that still fails tells you.
What we measured
On 18 October 2026 we ran each setup in n8n 2.43.7 (n8n execute) against a local test API that logs every request and answers 429 with Retry-After: 2 when we tell it to. Each workflow sent three items.
| Setup | What the test API saw | Result |
|---|---|---|
| Retry On Fail, Max Tries 3, Wait 1500 ms; only item 2 gets one 429 | 3 requests at once, then all 3 again 1.5 s later: 6 requests | Success, but items 1 and 3 were sent twice |
| Retry On Fail, Max Tries 10, Wait 0 ms; API always says 429 | 5 rounds of 3 requests, about 1 s apart: 15 requests | Error: The service is receiving too many requests from you |
| Batching: 1 item per batch, 1000 ms | 1 request per second (gaps of 0.997 s and 1.002 s) | Success |
| Response headers and status + Never Error; every item gets a 429 | 3 requests | Success: the 429s came back as normal items with statusCode: 429 and headers["retry-after"]: "2" |
| The Retry-After loop below; all items get a 429, item 2 gets two | 3 requests, 3 s later 3 more, 3 s later only item 2: 7 requests | Success, each item answered once |
| The Retry-After loop; API always says 429 | 6 calls per item (the first plus 5 retries) | Error: Still rate limited after 5 retries |
Four things Retry On Fail doesn't tell you
- It resends everything. The retry runs the whole node again with all its input items, not just the one that failed. For reads that's only wasteful, but for calls that create something (a message, an order, a row) the items that worked are created twice. Use the loop, or send one item per execution.
- Max Tries is capped at 5. n8n clamps it between 2 and 5, so our Max Tries of 10 gave 5 tries.
- The wait is capped at 5 seconds, and 0 means 1 second. Wait Between Tries is clamped to 5000 ms, and an empty or zero value falls back to 1000 ms, which is what we saw. An API that asks for 30 or 60 seconds can't be satisfied this way.
- It ignores Retry-After. It always waits the same fixed time, with no backoff.
So Retry On Fail is fine for an occasional blip on a read-only call. For a real rate limit, pace the calls and use the loop.
How the Retry-After loop works
The Call the API node has Include Response Headers and Status and Never Error turned on, so a 429 arrives as data you can read instead of stopping the workflow. Its own Retry On Fail stays off. Is 429? sends successful items to Done and the 429s to Work out the wait, then Wait, then back to the call. Only the items that failed go round again. This is the Code node (mode: run once for each item):
const attempt = $runIndex + 1;
if (attempt > 5) throw new Error('Still rate limited after 5 retries');
const v = ($json.headers || {})['retry-after'];
let seconds;
if (v === undefined) seconds = Math.min(2 ** attempt, 60); // no header: 2, 4, 8 ... s
else if (isNaN(v)) seconds = (Date.parse(v) - Date.now()) / 1000; // an HTTP date
else seconds = Number(v); // a number of seconds
seconds = Math.ceil(Math.min(Math.max(seconds, 1), 300) * (1 + Math.random() * 0.2));
return { json: { ...$('Your items').item.json, waitSeconds: seconds, attempt } };The Wait node uses {{ $json.waitSeconds }} seconds. Three details matter: Retry-After can be a date instead of a number, so the code handles both; the random extra 0 to 20% stops many items from retrying at the same instant; and the last line sends your original item back to the call, because the 429 response has replaced it by then. If you rename Your items, rename it in that line too.
One side effect: items that succeed on different passes reach Done in separate batches, and not necessarily in order. If the next step needs them all together, put an Aggregate node after the loop, or process each item on its own.
Which fix should you use?
- A one-off blip on a read: Retry On Fail, 3 tries, 2000 to 5000 ms.
- Many items to one API with a per-second limit: Batching at 1 per batch and an interval a bit above the limit. Add the loop if 429s still get through.
- The API sends Retry-After, or the call creates things: the loop, with Retry On Fail off.
- The n8n Telegram node: it fails at once on a 429 with no retry, see n8n Telegram node not working, then pace it with batching or Loop Over Items and Wait.
- The n8n Discord node: one 429 fails it with
You are being rate limited.and no retry, see n8n Discord node not working, then turn on Retry On Fail with a 2000 ms wait. - The n8n OpenAI node:
OpenAI: Rate limit reachedis not retried, andInsufficient quota detectedis a billing problem that no retry fixes, see n8n OpenAI node not working. - The n8n AI Agent node: one 429 fails it with no retry, and an empty OpenAI balance shows as
The service is receiving too many requests from you, see n8n AI Agent node not working. - The n8n Information Extractor: with the default Batch Size 5 it sends 5 model calls at the same moment, and every format miss adds a hidden second call; set Batch Size 1, see n8n Information Extractor not working.
- A daily quota: none of these. Call less often, cache results, or skip items you've already handled with Remove Duplicates across executions.
- Paid APIs like OpenAI: retries cost tokens too. See log the cost of every OpenAI call for a sub-workflow that retries rate limits and records what each call cost.
Honest limits
- We tested against our own test API, not a real service; real APIs differ in which headers they send and how long a block lasts.
- The Wait node holds the execution while it waits. Waits over about a minute are written to the database and resumed later, which is fine but makes an execution show as waiting.
- Tested on n8n 2.43.7. The Retry On Fail caps come from n8n's own code in that version and may change.
Start from a working agent
FAQ
What does 'The service is receiving too many requests from you' mean in n8n?
It is n8n's message for an HTTP 429 response: the API you called is rate limiting you. Slow down with Batching, wait and retry with Retry On Fail or a Retry-After loop, or make fewer calls.
Does Retry On Fail retry only the failed item?
No. In our test with three items where only one got a 429, n8n sent all three again. The retry re-runs the whole node with all its items.
What are the maximum Max Tries and Wait Between Tries in n8n?
In n8n 2.43.7 Max Tries is clamped between 2 and 5, and Wait Between Tries to at most 5000 ms. A wait of 0 falls back to 1000 ms.
Does n8n respect the Retry-After header?
Not with Retry On Fail, which always waits the same fixed time. Turn on Include Response Headers and Status and Never Error in the HTTP Request node, then read headers['retry-after'] in a Code node and feed it to a Wait node, as in our free loop workflow.
How do I send one request per second in n8n?
In the HTTP Request node add the Batching option with Items per Batch 1 and Batch Interval 1000 ms. We measured gaps of 0.997 and 1.002 seconds.
Does the loop work with nodes other than HTTP Request?
The loop needs to read the status code and headers, which the HTTP Request node gives you. Most app nodes don't, so for those use Retry On Fail plus Loop Over Items and a Wait node to pace calls, or make the call with HTTP Request instead.
Is the workflow free?
Yes. It's a direct JSON download with no signup and no credentials inside, under the MIT licence.
Related guides
- n8n HTTP Request pagination not working: endless loops, duplicates and fixes, 27 runs
- n8n Loop Over Items not working? 15 tests of what really happens
- n8n forgot password or locked out: reset the owner account, tested
- n8n OpenAI node not working? 18 tests, every error decoded
- n8n HTTP Request node errors: 401, 404, ECONNREFUSED, SSL and 12 more, fixed
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes