R
26

Spent 3 hours debugging an AI script only to realize I forgot a comma

I was working on a python script that pulls data from an AI model API for a project at my local library's makerspace. It kept throwing errors and I was convinced the API key or rate limit was the problem. After 3 hours of tweaking headers and retrying, I noticed a missing comma in the JSON payload. Has anyone else had a tiny syntax error waste way too much time?
2 comments

Log in to join the discussion

Log In
2 Comments
xenan64
xenan647d ago
Oh man, the missing comma gets me every single time... spent four hours hunting down a typo in a config file once and it was just a missing colon. It's always the dumbest little thing, isn't it?
6
oscarmurphy
Oh man, "the missing comma" is just too real. I swear I've wasted whole afternoons staring at a single line of code only to realize it was something THAT dumb. It's like our brains just refuse to see the obvious little stuff sometimes.
6