Paste the error AND what you already tried.
When something breaks and I ask the model for help, I used to paste the error message and nothing else. "TypeError: cannot read properties of undefined." Then I'd wait while the model suggested the three most common causes — none of which were mine — and I'd try each one, and report back, and get three more. An hour gone, and the real cause was something I'd already ruled out in the first ten minutes.
The error message is only half the question. It says what broke. It doesn't say what you already know. And what you already tried is the map of everything that has been ruled out. Without it, the model re-suggests your own dead ends, and you waste a round trip on every one.
Now my help requests look like this: the full error, the few lines of code around it, and then "I already tried X, Y and Z — X changed nothing, Y made it worse, Z isn't possible here because…" The first reply after that is usually the right one, because the model is starting from where I actually am, not from zero. It skips the obvious, skips the things I tried, and goes straight to the causes that are still on the table.
It works the same way with people. Ask a developer for help with just an error and they'll ask you what you tried first — because nobody wants to debug a problem you've already half-solved. Give them the error and the attempts together and they can actually help.
The error is the symptom. What you tried is the story so far. Paste both, and the fix arrives in one reply instead of five.
2 likes