Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Stop and Error

core.stop_and_error · version 1 · Flow

Fail the execution with a custom message or error object.

Ports

PortKindLabelRequiredMax connections
input 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
errorTypeoptions"errorMessage"Error type. One of errorMessage, errorObject.
messagestringerrorType = errorMessageText of the error raised.
errorObjectjsonerrorType = errorObjectError object. JSON object describing the error; ‘message’ and ‘description’ are used when present.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.stopAndError1unverified