Error Message: You exceeded your current quota, please check your plan and billing details

Hi there,

I am trying to call chatgpt api through python. I created secret key as well and when I am trying to call the api with the query, I am getting error " Error code: 429 - {‘error’: {‘message’: ‘You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.’, ‘type’: ‘insufficient_quota’, ‘param’: None, ‘code’: ‘insufficient_quota’}}".

Although, I have created a new account and I have $18 credits available but not sure why I am unable to use it and call the API.

Did anyone face similar issue. Please support. Thanks.

1 Like

you are mistaken i think. the upper value shows your avalilble credits and the lower value shows the maximum you set as a hard ceiling for your organization.

did you fund your account?

i do not recal free use of the api’s

should have something like:

the good thing is that. you are able to communicate and receive a response. so the code is not the culprit :slight_smile:

2 Likes

You may have increased your budget but did not actually add credits to your organization. Sometimes adding credits will not be available to all organizations on your profile.

1 Like

Consistent with what @birdkokane has written, the issue is likely linked to insufficient funding of your account. If you had actual credits available, it should state so on the right hand side on your usage page at the organization level. You would see a line with the amount of credits and then the state would need to be set to “Active”.

If that’s not the case, you need to first add funds to your account.

1 Like

Yeah, thanks for your answer. Now, the issue is resolved.