Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Billing Issue? #55

Open
dberga opened this issue Aug 12, 2024 · 0 comments
Open

Billing Issue? #55

dberga opened this issue Aug 12, 2024 · 0 comments

Comments

@dberga
Copy link

dberga commented Aug 12, 2024

I did all the steps with render and all seemed cool, I added the StreamElements bot command with name !gpt with the corresponding render deploy url.

Then I went to Twitch chat and wrote "!gpt hello" and the system responded "StreamElements: Sorry, something went wrong. Please try again later.". In the render's deploy log I get:

==> Your service is live 🎉
Received a request!
Conversations in History: 0/3
RateLimitError: 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 APIError.generate (file:///opt/render/project/src/node_modules/openai/error.mjs:59:20)
    at OpenAI.makeStatusError (file:///opt/render/project/src/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///opt/render/project/src/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OpenAIOperations.make_openai_call (file:///opt/render/project/src/openai_operations.js:32:30)
    at async file:///opt/render/project/src/index.js:170:22 {
  status: 429,
  headers: {
    'alt-svc': 'h3=":443"; ma=86400',
    'cf-cache-status': 'DYNAMIC',
    'cf-ray': '8b23f67178d4281a-SEA',
    connection: 'keep-alive',
    'content-length': '337',
    'content-type': 'application/json; charset=utf-8',
    date: 'Mon, 12 Aug 2024 22:39:39 GMT',
    server: 'cloudflare',
    'set-cookie': '__cf_bm=rASPhd80Xiw3RzR2WsePIrPO8KFAp7yp.L669AOducg-1723502379-1.0.1.1-xutx0AiUMZSirg46QpS1wgDEhg9oqQEbuCO2Xpd_bZ07g2Ox1i_aXAxjQcR5jyY_oL9yGp12Vq7TyHkLSUCq7A; path=/; expires=Mon, 12-Aug-24 23:09:39 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=notQ6SkL1suLmIQWEtLdwLNQEX53GFKQF04vpqeDrRo-1723502379818-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
    'strict-transport-security': 'max-age=15552000; includeSubDomains; preload',
    vary: 'Origin',
    'x-content-type-options': 'nosniff',
    'x-request-id': 'req_2c737ed352e0151b414b983c9577516e'
  },
  request_id: 'req_2c737ed352e0151b414b983c9577516e',
  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'
  },
  code: 'insufficient_quota',
  param: null,
  type: 'insufficient_quota'
}

All GPT API key and Twitch oauth has been correct for deployment, but I have a free trial account (limited up to chatGPT 3.5), how come it says I spent if I didn't use it for long time? Is it mandatory to have all billing details set in openAI account for this integration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant