- Home
- Resources
- Integrations
- Stop and Error
n8n Stop and Error nodeConfigure Stop and Error in n8n.
Some workflows are better off failing loudly than finishing quietly. The n8n Stop and Error node ends the current run where you drop it and throws the message or the JSON object you wrote. One parameter, 2 error types, version 1 in the catalog. Useful for any branch that should never reach the next node.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Stop and Error node actually do?
Stop and Error makes the current execution fail, right at the spot where you placed it. Rather than letting a run finish on data you already know is wrong, the node throws an error you wrote yourself, either a readable message or a JSON object, and the execution is marked as failed. n8n ships it as a core node, so it is already sitting in the panel with nothing to install.
The first scenario is the guard. A run starts on a Webhook, which is a URL an outside service calls to hand n8n a payload, and the payload sometimes arrives without the identifier the rest of the workflow depends on. An If node checks the field, the false branch goes straight into Stop and Error, and the run stops there instead of writing a half empty row three nodes later.
The second scenario is reporting. With the errorObject option you throw a structured object rather than a sentence, so the workflow that reacts to the failure can read the properties one by one. n8n documents this pairing: the Error Trigger node starts an error workflow, and the custom error information you threw travels with it. A code and a description are enough to route the alert to the right person.
The third scenario sits behind an API call. An HTTP Request node returns a body that is technically a success but useless for what comes next, an empty list where a record was expected. Stop and Error turns that silent case into a visible failed execution, which is much easier to spot than a run that ended green with nothing written.
Prefer a different node when the branch still has a valid continuation. Switch handles more than two outcomes and keeps them all running. Merge brings two paths back together when both are legitimate. Stop and Error belongs only where there is nothing sensible left to do with the item in front of you.
The limits are short to list. The node exposes a single parameter, so there is nothing to tune beyond the error you throw. It runs on every incoming item, and it never opens a workflow by itself: a Schedule Trigger, a Webhook or the trigger of a tool has to come first. If you are still weighing the platform before wiring failure handling into it, the n8n review covers the ground around this node.
Which parameter does Stop and Error expose?
The Stop and Error node has one parameter. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Error Type
errorTypeWhat you see in n8n
Notes & use cases
Error Type selects the type of error to throw, and the choice changes the field shown underneath.
Key parameters
- Error Type: two options,
errorMessage(Error Message) anderrorObject(Error Object). - Error Message: required with the first option, a string in the shape of the placeholder
An error occurred!, often assembled from the incoming item with{{ $json.status }}. - Error Object: required with the second option, a JSON object containing the error properties, such as
{ "code": "404", "description": "The resource could not be fetched" }.
Need help automating Stop and Error with n8n?
A person reads every message.
Stop and Error in n8n, answered
01Is the Stop and Error node included in n8n Cloud and self-hosted?
02What do you need to set up before using Stop and Error?
03What are the limits of the n8n Stop and Error node?
04When should you use Stop and Error instead of an If node?
05n8n or Make for handling failures like this?
Get our weekly integration tips.
No spam. Unsubscribe anytime.

