Steps
The error workflow is not published: it never runs, silently
This was the most common silent failure in our tests. The failing workflow pointed at a handler with an Error Trigger, but the handler was not published (active). The handler never ran, nothing showed in the editor, and the only trace was a warning in the n8n server log:
Calling Error Workflow for "..." Workflow "..." is not active and cannot be executed. After publishing the handler, the same failure triggered it. On n8n 2.43.7 the error workflow must be published, whatever older forum answers say. On Docker, check withdocker logs n8n 2>&1 | grep "Error Workflow".Error Workflow not set, or pointing at the wrong workflow
n8n only calls an error workflow when the failing workflow names it under Workflow Settings → Error Workflow. With nothing set, a failure ran nothing and logged nothing. When the setting pointed at a deleted workflow, n8n logged the same
is not active and cannot be executedline and went on. Imported or duplicated workflows keep their old setting, so open the settings of the workflow that fails, not the handler, and pick the handler again.The handler has no Error Trigger node
The handler must start with an Error Trigger node. A handler with a Manual Trigger could not be published and never ran (same log line). A workflow set as its own error workflow without an Error Trigger logged
Could not find "n8n-nodes-base.errorTrigger" in workflow. Adding an Error Trigger branch inside that same workflow worked: only that branch ran on failure, so one workflow can handle its own errors.Continue On Error and successful retries skip it
The error workflow runs only when the execution ends in error. With a node's Settings → On Error set to Continue (regular output) or Continue (using error output), the execution ended as success and the error workflow was not called, even though the node failed. Retry On Fail with a later try that succeeded also never called it. When every retry failed, it was called once, with the last HTTP reply in
error.description. If you catch errors on purpose, send the alert yourself from the error output, or end that branch with a Stop and Error node.Manual and CLI runs do not trigger it
A workflow run with
n8n execute --idon the command line failed as expected, but the handler never ran: the log saidCalling Error Workflow for "...": "Driver has already been released."n8n's docs say runs started with the editor's Execute workflow button do not call the error workflow either (we did not test the button). Test your alert with a real trigger: call the production webhook URL, or let the schedule fire, with a node that fails. See n8n webhook not working for test vs production URLs.Stop and Error shows {{ $json... }} in the alert
A Stop and Error node triggers the error workflow, and its text becomes
execution.error.message. Typed in Fixed mode,Order {{ $json.query.id }} has no emailreached the handler with the braces as plain text. Switching the field to Expression gaveOrder 42 has no email. Code node errors arrived with[line 1]added to the message. More on this: n8n expression errors.The execution link in the alert points to localhost
The Error Trigger output is
{ execution: { id, url, error: { message, name, description, node, stack }, lastNodeExecuted, mode }, workflow: { id, name } }. With no public URL configured,execution.urlwas ahttp://localhost:.../workflow/<id>/executions/<n>link, which is useless in an email or Discord alert. SettingN8N_EDITOR_BASE_URLto your public n8n address should fix it (not tested). A handler that throws calls its own error workflow if one is set in its settings; we saw no loop.
What we ran
On 25 October 2026 we ran 17 failing executions on self-hosted n8n 2.43.7 (n8n start, SQLite). The failing workflows were published webhook workflows with Workflow Settings → Error Workflow set; the handler was an Error Trigger followed by an HTTP Request that posted {{ JSON.stringify($json) }} to a local capture server, so we saw exactly what each handler received. We checked every run in the executions table and the server log.
| What we ran | What happened |
|---|---|
| Webhook workflow, Code node throws, Error Workflow = published handler | Handler runs (mode error); the webhook caller still got 200 Workflow was started |
| No Error Workflow set in the failing workflow's settings | Nothing runs, no log line |
| Handler with an Error Trigger, not published | Never runs. Server log only: Workflow "..." is not active and cannot be executed |
| Same handler after publishing it | Runs |
| Handler with a Manual Trigger instead of an Error Trigger | Never runs, same is not active and cannot be executed line |
| Error Workflow pointing at a deleted workflow | Never runs, same log line |
| Workflow set as its own error workflow, no Error Trigger | Log: Could not find "n8n-nodes-base.errorTrigger" in workflow |
| Same, with an Error Trigger branch added inside it | The Error Trigger branch runs |
| On Error = Continue (regular output) | Execution success, error workflow not called |
| On Error = Continue (using error output) | Execution success, error workflow not called |
| Retry On Fail, 2nd try succeeds | Success, not called |
| Retry On Fail, every try fails | Called once, error.description has the last HTTP reply |
| Handler that itself throws | Its own error workflow runs, workflow.id = the handler, no loop |
Stop and Error, message in Fixed mode with {{ }} | Called; message keeps the braces as text |
| Stop and Error, message in Expression mode | Called; Order 42 has no email |
CLI n8n execute --id of a failing workflow | Handler never runs: Calling Error Workflow for "...": "Driver has already been released." |
Payload execution.url with no editor URL set | A http://localhost:<port>/... link, unusable in alerts |
Checklist
- Long run getting a 500 or a canceled status? Check the timeouts in n8n execution timeout.
- Handler starts with an Error Trigger and is published.
- The failing workflow names it under Workflow Settings → Error Workflow.
- No Continue On Error on the node you expect to alert on (or alert from its error output).
- Test with a production trigger, not a manual or CLI run.
- Stop and Error messages in Expression mode.
- Public editor URL set so
execution.urlworks. - Grep the server log for
Error Workflowwhen nothing arrives.
Want a ready alert handler that posts the failed node, message and execution link to Discord? Use the n8n error workflow and nightly backup guide. Error workflows only fire on failures: for workflows that silently stop running, add a heartbeat.
Want the failed run to carry an order id or customer email into the alert? Save it with the Execution Data node first, and avoid its silent drops: n8n Execution Data node not saving.
What we did not test
The editor's Execute workflow button, N8N_EDITOR_BASE_URL, trigger nodes that fail to start (their payload has trigger instead of execution), queue mode, n8n Cloud and the editor UI.
Start from a working agent
FAQ
Why is my n8n error workflow not triggering?
Most often the error workflow is not published, or the failing workflow does not name it under Workflow Settings → Error Workflow. The only trace is a server log line saying the workflow "is not active and cannot be executed".
Does an n8n error workflow need to be active?
Yes, on n8n 2.43.7. An unpublished handler never ran in our tests; publishing it fixed it.
Why does the Error Trigger not fire when a node fails with Continue On Fail?
With On Error set to Continue, the execution ends as success, so no error workflow is called. Alert from the error output or end the branch with Stop and Error.
Does the error workflow run for manual executions?
No. CLI runs failed to call it with "Driver has already been released.", and n8n's docs say editor test runs do not call it. Test with a production trigger.
Why does my Stop and Error message show {{ $json }} literally?
The field is in Fixed mode. Switch it to Expression so n8n fills in the values.
Why does execution.url in my n8n error alert point to localhost?
n8n builds the link from its configured URL. Set N8N_EDITOR_BASE_URL to your public n8n address (we did not test this fix).
Related guides
- n8n workflow could not be activated? 11 tests, every error fixed
- n8n Execute Workflow node not working? 71 sub-workflow tests
- n8n Form Trigger not working? Form errors fixed, 10 tests
- n8n Wait node not resuming? Resume URL and timer fixes, 19 runs
- Find sent emails with no reply (and follow up on time)
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes