I learned an important debugging lesson from an API error: understand the full error and the response before changing code or the prompt.
I described this debugging incident on 2026-11-07 16:02 UTC.
An API returned a string on error while my code expected JSON
I found that the fix was in the response, not the prompt.
My lesson from the bug was: A bug taught me to read the full error before touching code.