We don’t use could/couldn’t to talk about single moments or successes.
If we want to talk about something we were unsuccessful at, we can use wasn’t/weren’t able to, didn’t manage to or couldn’t.
I wasn’t able to pass the exam.
She couldn’t go on vacation due to work.
They didn’t manage to find the correct part.