I put $5 in my account to test chatgpt api, but i am getting this message You exceeded your current quota
GET /admin/scraped-articles/cm8hm0ktj0000xzmftp5ql6mb 200 in 137ms
Erro ao processar artigo: Error: 429 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.
at async POST (src/app/api/admin/scraped-articles/process/route.ts:81:25)
79 |
80 | // Chama a API do OpenAI
81 | const completion = await openai.chat.completions.create({
| ^
82 | model: “gpt-3.5-turbo”,
83 | messages: [
84 | { role: “system”, content: “Você é um assistente especializado em tradução e adaptação de artigos de notícias para o português brasileiro.” }, {
status: 429,
headers: [Object],
request_id: ‘req_a8e18b7d0050b87e029b827e3f983906’,
error: [Object],
code: ‘insufficient_quota’,
param: null,
type: ‘insufficient_quota’
}
It can take minutes to hours for a new account to be “turned on” after an initial payment. You can see your new credit balance under billing, but no indication is offered “ready for use”.
The answer may be just to hang in there a bit.
You can visit the “playground” and make the same request, until it is satisfied. That will make sure that the issue isn’t about using the wrong API key somehow.
If your patience has run out, in the same site is “help” in the left-side menu, where you can send a message reporting the issue with account activation and provisioning.