Hello I have a workflow that pulls thousands of records from an external API and processes them in batches. Occasionally, the API returns 429 Too Many Requests, which causes some items to fail.
I’m thinking about using the Loop Over Items node with smaller batches and adding a delay between requests.
Would you recommend handling the retries directly in n8n, or using a queue/Redis approach for a larger production workflow?
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
For thousands of records I would stay inside n8n until the 429s become frequent enough to stall the whole run. Loop Over Items with a small batch size, a Wait between batches, and a retry branch that reads Retry-After when the API sends it is usually enough. Persist a cursor or last-successful id so a partial failure does not restart from page one. Once you are regularly hitting limits or several workflows share the same API budget, move the worker side to a queue so one rate-limit response cannot block unrelated jobs.
Hi @Amelia_Carter, I can help make the sync recover cleanly when the API slows down or limits requests, so you don’t have to check failed records by hand. We could start with a copy of one workflow and a small test batch before touching the live setup. Did the changes suggested here solve the issue, or are records still failing?