Debug this error
IT Developer IT Ops
The prompt
Help me debug this error.
Error message:
{{paste_error}}
Relevant code:
{{paste_the_code_causing_the_error}}
Context:
- Language / framework: {{e_g_python_3_11_react_18_django}}
- What I was trying to do: {{describe}}
- What I've already tried: {{list_anything_you_ve_attempted}}
Please:
1. Explain what the error means in plain language
2. Identify the most likely cause
3. Provide a fix with the corrected code
4. Explain why the fix works
5. Flag any related issues I should check