OpentAI API request error : You exceeded your current quota, please check your plan and billing details

My key got the above error but when I created a new key the problem was solved. But I want my old key to work .

Welcome to the community.

Quota is enforced on account not on key.

Your old key should work just as your new key does. If that’s not the case you can delete the key you do not use anymore.

Why is my old key not working even though I have increased my limit

my old key has not expired