Latenode LogoLatenode
Error Handling

Node Restart on Error

All action nodes on Latenode include Retry if This Node Returns an Error in the advanced settings. This option lets the system automatically restart the node and retry the request when the service returns an error.

Demo of retry functionality

When You Need This

The service you're calling returns an error — 500, 503, timeout, 429 "Too Many Requests", etc.

Normally, this would stop your scenario. With retry enabled, the system automatically repeats the request a specified number of times with a defined pause between attempts.

When to use this:

  • API sometimes responds with 500 or 503
  • Timeouts occur during high load
  • Service returns 429 when rate limit is exceeded

Configuration

Complete error handling settings panel

Retry if This Node Returns an Error — enable automatic retry when the node throws an error.

Number of Retry Attempts — how many times to retry the request (default: 2).

Delay between Retries (sec) — pause between attempts in seconds (default: 3).

REGEXP (Regular Expression) — optionally filter which errors trigger a retry (by default, any error triggers a retry).

For regular API errors, 2–3 attempts with a 3–5 second delay are usually enough.

What's Next