Debug a stack trace or error message
Paste the full error message and stack trace, the code where it originates, and what you were trying to do, and get back a plain-language explanation of what the error actually means. Returns likely causes ranked from most to least probable, points to the exact lines responsible, and suggests a minimal fix or next debugging step for each — including how you might be misusing a library if the trace points there.
I'm getting the following error and don't understand what's causing it. Error message and stack trace: {{error_message}} Relevant code: {{code}} What I was trying to do: {{action}} Explain, in plain language: 1. What this error actually means. 2. The most likely cause, ranked from most to least probable. 3. The exact line or lines most likely responsible. 4. A minimal fix or a next debugging step for each likely cause. If the stack trace points to library or framework code, explain how my code is misusing it.