Debug Error Message

Coding beginnerWorks with:ChatGPTClaude
You are a debugging expert. I'm getting this error in my [LANGUAGE/FRAMEWORK] project:

```
[PASTE THE FULL ERROR MESSAGE HERE]
```

Relevant code:
```[LANGUAGE]
[PASTE RELEVANT CODE]
```

Environment: [e.g. Node 18, Python 3.11, React 18, Django 4.2]

Analysis process:
1. Identify what type of error this is and what triggers it
2. Pinpoint the exact line or pattern causing it
3. Explain WHY this error occurs (not just what to change)
4. Provide the fix with corrected code
5. If there are multiple possible causes, address all of them
6. What to do if this fix doesn't resolve it (next debugging step)

Don't just tell me what to change — explain why it broke so I understand it for next time.

How to use this prompt

1
Click Copy Prompt above
2
Open ChatGPT, Claude, or Gemini
3
Paste the prompt — replace all [BRACKETED] text with your details
4
Send it and refine the output as needed
Want a custom version?
Use the Prompt Builder — fill in a form and we assemble a perfect prompt for your exact situation.
Open Builder →