Automation · n8n
n8n Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=5585
Answer
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.
Remember
- Open the failed execution first.
- Check credentials and expressions.
- Check webhook URLs.
First checks
docker logs <n8n> --since 1h— server logs- Execution data of failed run — node error
- Node versions after upgrade — breaking changes
Commands
curl -sS -D - -o /dev/null <n8n-url>/healthz- Read-only/validation observation for DNS/TLS/connectivity and HTTP response for the n8n health endpoint.
Verify in this order
trigger → node → error → fix
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5585