Skip to content

Billing Issue? #55

@dberga

Description

@dberga

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions