Error Message Translator
Paste a technical error and get the plain-English cause and troubleshooting steps.
How it works
Matches your error message against a database of over 120 known errors (HTTP status codes, TLS/certificate, DNS, network, filesystem, Node.js, Python, Java, npm, pip, git, Docker, SQL and Windows codes), explains the cause in plain English and fills the concrete file, host, port or package from your message into the steps.
- Every pattern is a regular expression with a specificity score from 1 (generic, e.g. "permission denied") to 10 (one exact error code).
- All matching patterns are ranked by specificity, then by how early in the message they match; the top one is explained, the rest are listed.
- If you pick a context, patterns from matching categories get +2 specificity when ranking.
- Concrete values (URL, host, port, path, module, package, status/error code) are extracted from the message and inserted into the steps.
- No match → generic triage steps; nothing is guessed.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Opsdeck Developer & ops workbench
One deck for CI failures, cron, traces, k8s events, API diffs, query plans and Terraform.
Related tools
- HeaderLens – Is a website down? Multi-region status, redirects, TLS and security headers.
- File Format Doctor – Find out what a file really is from its bytes, why it will not open and how to convert it.
How to use the Error Message Translator
Paste a cryptic error message and get a plain-English explanation, the likely causes and concrete next steps filled in with your host, port, file or package.
What it is for
Error messages are written for the people who wrote the software, not for you. ECONNREFUSED 127.0.0.1:5432, ModuleNotFoundError, 502 Bad Gateway — each one has a well-known meaning and a short list of usual fixes, but you have to know where to look. This tool matches your message against a database of more than 120 known errors (HTTP codes, TLS and certificates, DNS, network, file system, Node.js, Python, Java, npm, pip, git, Docker, SQL and Windows codes) and explains it in plain English. Values from your message — the host, port, path or package — are inserted into the suggested steps.
It recognises errors, it doesn't debug your program. If nothing matches, you get general triage steps rather than a guess.
Worked example
You start a Node.js app and see:
Error: connect ECONNREFUSED 127.0.0.1:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
With the context set to "code", the result is ECONNREFUSED – connection refused, category Network, severity high. In plain words: nothing is accepting connections at that address and port, either because the service isn't running there or a firewall rejects it.
The likely causes include the database not being started, the wrong host or port, a service listening on another interface, and, inside Docker, localhost meaning the container itself. The steps use your values:
- Check the service is listening:
ss -ltnp | grep 5432(Windows:netstat -ano | findstr 5432). - Verify host 127.0.0.1 and port 5432 in your configuration.
- In Docker, use the service name or
host.docker.internalinstead of localhost.
Port 5432 is PostgreSQL's default, so the first thing to check is whether Postgres is running.
How to read the result
- Error is the recognised error, Category the area it belongs to, Severity how much it usually blocks.
- What it means is the one-sentence explanation.
- Likely causes are the usual reasons for this error; tick off the ones that apply to your setup.
- Try these steps are concrete actions; commands already contain the values from your message.
- Values found in your message shows what was extracted (host, port, code, module…), so you can check the tool read the message correctly.
Tips and common mistakes
- Paste the whole message including the first lines of the stack trace. The specific error is often on a different line than the generic "Error:".
- Choose where you saw it (browser, terminal, Windows, code). Patterns from the matching categories get a boost, which helps when a message fits more than one error.
- When a message contains several errors, the most specific one is explained and the others are listed. Fix the first real error; later ones are often consequences.
- Remove passwords, tokens and personal paths before pasting. Hosts and ports are fine.
- For Python
ModuleNotFoundError, the fix is usuallypython -m pip install <package>with the same interpreter you run, not plainpip. - A 502 in the browser is usually the website's problem, not yours. Retry after a minute before changing anything locally.
FAQ
What if my error isn't recognised?
You get generic triage steps. Search for the exact error code or the most specific line of the message, in quotes.
Why are some steps generic?
Values are only filled in when they appear in your message. A bare 502 Bad Gateway contains no port, so the step about the upstream port stays general.
Why does it suggest Docker when I'm not using Docker?
The causes list covers the common situations for that error. Skip the ones that don't apply to your setup.
Does it work for Windows error codes?
Yes, common Windows codes are part of the database. Paste the code together with the text around it.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://errormessagetranslator.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://errormessagetranslator.usefulweb.site/mcp· tool nameerror_message_translator
Example request
curl -s -X POST https://errormessagetranslator.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"message":"Error: connect ECONNREFUSED 127.0.0.1:5432\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)","context":"code"}'