Creating first API request

I am trying to make first ever call using API key. Actually as a research grant, i have received worth of $100 credits. Following the official API documentation but it says that i have exceeded the quota. error message is:

“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”: null,
“code”: “insufficient_quota”
}

There’s some change of GPT token types, u can try to generate a new project token!
The new token can be prepaid!

How old is the account/credits? Sounds like they’re expired.

Check billing as error suggests.

did the same but couldnt resolve the issue or may be i am too noob to this

account is almost a year old but credits received on May 24th, 2024 and are valid for three months

Maybe u should post some images!
The error mostly like token has no credits,
I encountered the same error days ago, because of the new token machinism. When I generate a new token and recharge the credits, it’s ok!