Skip to content

HTTP Request Node - Incompatible error handling options #9236

Description

@rthomas6charter

Bug Description

In the settings dialog of an HTTP Request Node, there are options for:

  • Retry on Fail (switch on or off)
    • if switched on, settings for Max. Tries and Wait Between Tries (ms) appear
  • On Error - select one of: Stop Workflow or Continue or Continue (using error output)

If Retry on Fail is switched on AND On Error is set to one of the Continue options, Max. Tries and Wait Between Tries (ms) settings are ignored. i.e. Unless **On error" is set to "Stop Workflow," a single failure from the target HTTP service does NOT cause n8n to retry the request, and the workflow continues immediately to the "regular" or "error" output path/node.

To Reproduce

  1. Create a workflow with an HTTP Request Node
  2. Click the settings / gear icon
  3. Enable Retry on Fail and fill in settings for 2+ Max tries and enough Wait Between Tries (ms) time that it is obvious whether the retry is happening (e.g. 3000 ms)
  4. Choose either Continue or Continue (using error output) option for On Error
  5. Configure the node to call a service that will simulate one or more failed requests and succeed upon retry.
  6. Execute the workflow

Expected behavior

If Retry on Fail is enabled, the node should retry the HTTP request the configured number of times, with the configured wait time between tries, BEFORE continuing.

Alternatively (less preferred)...
The settings on the HTTP Request Node should NOT ALLOW both Retry on Fail and a Continue option for On Error

Operating System

Official Docker Container - Base Image (Alpine?) linux/arm64

n8n Version

1.35.0

Node.js Version

18.19.1

Database

PostgreSQL

Execution mode

main (default)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions