Even though there were credits in OpenAI's API, upon making an API request, the following occurred:
HTTP 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": null,
"code": "insufficient_quota"
}
}
Creating a new API key or project did not change the situation.
As an experiment, adding an additional $5 charge resolved the issue.
It seems likely that this occurs when using the free tier immediately after creating an account and then adding credits.