Use this when n8n executions fail and you must inspect node data and credentials.
n8n Troubleshooting
Troubleshoot n8n by opening the failed execution and inspecting each node's input and output, checking credentials, expression errors, webhook test versus production URLs and the server logs.
1. Failures: credential errors, API changes, expression errors, memory limits (large payloads), webhook URL mix-up.
2. Inspect failed execution data.
3. Check logs.
4. Split large data (batching).
5. Fix and re-run.
trigger → node → error → fix
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
curl -sS -D - -o /dev/null <n8n-url>/healthzPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Command read-back and what it shows Verify boundary
Known-good is health endpoint returns success, the intended workflow execution starts and finishes successfully and the expected external side effect can be read back independently; broken state is service health failure, missing trigger, worker/queue errors, node/credential/API failures or completed execution without the intended external result. /healthz shows n8n service health at that endpoint only, but it does not show worker capacity, workflow correctness, credential validity or downstream system state.
Step 2 Common mistakes Narrow the fault
- Not checking execution data for failed runs.
Step 3 Observation-driven branch and next-check logic Narrow the fault
If health endpoint fails, inspect n8n service/proxy/database; if health is good but execution never starts, inspect trigger/activation/webhook; if execution starts and fails, inspect first failed node/credential/API response; if execution succeeds but outcome absent, verify external target state.
- Open the failed execution first.
- Check credentials and expressions.
- Check webhook URLs.
docker logs <n8n> --since 1h— server logs- Execution data of failed run — node error
- Node versions after upgrade — breaking changes
ReferenceHow it works1 section · depth on demand
How it works
n8n Troubleshooting is governed by n8n service/worker availability, workflow activation/execution state, credential nodes and external-node API responses. N8n receives triggers, instantiates workflow executions and processes nodes through workers while persisting execution/error data; the n8n service owns orchestration while each integration owns its own authorization and side effects. Database/queue mode, workers, reverse proxy, credentials, webhook registration and external APIs are distinct boundaries. The important state separation is that a healthy /healthz endpoint does not show workers can execute or that a specific credential/integration is valid.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Troubleshooting n8n starts with the execution list: failed executions show which node failed, the input it received and the error. Most problems are data shape, credentials or webhook configuration.
| Symptom | Check |
|---|---|
| Webhook not triggering | Workflow active? Test vs production URL? Reverse proxy WEBHOOK_URL setting |
| Node error on expression | Item structure differs from expected; use the data view |
| Credentials fail after migration | Different N8N_ENCRYPTION_KEY |
| Workflow runs twice | Duplicate triggers or multiple instances without queue mode |
| Executions disappear | Pruning settings |
| Slow with large data | Batch with SplitInBatches/Loop; avoid holding all items in memory |
Enable saving of successful executions temporarily when debugging, and use an error workflow so failures are reported instead of discovered later.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in n8n > n8n Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.n8n.io/ · confidence 94%