Using api and getting the error: You exceeded your current quota

I get the error: You exceeded your current quota, please check your plan and billing details. In the simplest attempt that I have, a prompt of: say yes.
In the playground it works, I manage to get an answer and also see the usage that works properly.
I paid 10 dollars as credit in the pay as you go program.
I previously had a paid account.
The use here is only in api and also minor with 3.5 turbo.