Coding · Debug

Understand an Error Message in Plain English

Paste a confusing error and learn what it means, why it happened and what to try first.

Prompt Text output

I got this error and I do not understand it: [ERROR_MESSAGE]. It appeared when I was [WHAT_I_WAS_DOING]. I am using [TOOL_OR_LANGUAGE]. Please explain, in plain everyday language, what the error is telling me, almost like translating it. Tell me which part of the message is the important clue and which part I can ignore. List the two or three most likely causes, starting with the most common one for beginners, and for each give me a simple thing to check or try. If you need more information to be sure, tell me exactly what to copy and send you. If the error text includes anything that looks like a password or private key, warn me to remove it.

Fill in the brackets

[ERROR_MESSAGE]
Copy the full error text, e.g. TypeError: cannot read properties of undefined
[WHAT_I_WAS_DOING]
e.g. running a Python script I got from a tutorial, clicking a button on my site
[TOOL_OR_LANGUAGE]
e.g. Python, JavaScript in Chrome, WordPress, Excel macro

How to use

  1. Copy the prompt.
  2. Replace the text inside [BRACKETS] with your own details.
  3. Paste it into ChatGPT or another AI assistant.
  4. Read the result and ask for changes if needed.

Tip: Copy the whole error, including the lines with file names and line numbers; they point to where the problem is.