Skip to content
Promptnic

Error Message Translator

Explains a cryptic error in plain English, lists likely causes for your setup and gives the fix commands.

Open in:ChatGPTClaudeGrokPerplexity

The prompt

I got this error while [WHAT_I_WAS_DOING] on [OS_AND_TOOLS]: [ERROR_TEXT] Explain: 1. What the error means in one or two plain sentences. 2. The 3 most likely causes in my situation, most likely first. 3. For each cause, how to check it (exact command) and how to fix it (exact command or code). Assume I am [SKILL_LEVEL]. Do not suggest reinstalling everything unless nothing else could work.

Fill in the variables

The prompt above updates live. Nothing leaves your browser.

Remix it

One-click variations. Stack them, then copy.

Open in Prompt Lab →

Why this prompt works

Tying causes to diagnostic commands turns a guess list into a checklist you can run in order. The skill-level variable controls the depth of explanation, and the "no reinstall" rule blocks the lazy default answer.

Framework: RTF. Role, Task, Format: the simplest reliable structure.

Example

Illustrative, not a real model output

Example input

[WHAT_I_WAS_DOING]
running npm install
[OS_AND_TOOLS]
macOS, Node 22
[ERROR_TEXT]
EACCES: permission denied, mkdir /usr/local/lib/node_modules
[SKILL_LEVEL]
a beginner

What a good answer looks like (abridged)

Meaning: npm tried to write to a system folder your user can't change. 1. Global install without permissions -> check: npm config get prefix -> fix: use nvm, or npm config set prefix ~/.npm-global

How to use it

  1. Fill in 4 variables below (or in the prompt) with specific details.
  2. Paste it into ChatGPT (also works in Claude, Gemini, Grok).
  3. Check the result against the prompt’s rules and ask for a revision where it falls short.

ChatGPT tips

  • Put the output format (schema, table columns) near the top: ChatGPT follows explicit structure very reliably.
  • Use a Project or custom instructions for prompts you reuse daily.

Common mistakes

  • Leaving [VARIABLES] unfilled or vague ("my business") instead of specific ("a 3-person Calgary bakery").
  • Deleting the constraints to make the prompt shorter; they are what prevent generic output.
  • Accepting the first answer. Reply with what to fix and ask for a revision.

Guide: Promptnic template.

Frequently asked questions

Which AI model works best with the Error Message Translator prompt?+

It is tuned for ChatGPT and also works in Claude, Gemini, Grok, DeepSeek. Put the output format (schema, table columns) near the top: ChatGPT follows explicit structure very reliably.

How do I use this prompt?+

Copy it, replace the 4 [VARIABLES] (what i was doing, os and tools, error text…) with your details, then paste it into ChatGPT. You can fill the variables on this page and copy the finished version.

Is this prompt free to use?+

Yes. Every prompt on Promptnic is free to copy, adapt and use in personal or commercial work. A link back is appreciated, not required.

Why does this prompt work?+

Tying causes to diagnostic commands turns a guess list into a checklist you can run in order. The skill-level variable controls the depth of explanation, and the "no reinstall" rule blocks the lazy default answer.

Related prompts