[GH-ISSUE #161] New account, new API key, I even bought some tokens, but still: 429 You exceeded your current quota #50

Closed
opened 2026-03-03 13:52:35 +03:00 by kerem · 1 comment
Owner

Originally created by @brianjenkins94 on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/jehna/humanify/issues/161

I must be doing something stupid.

1 2 3
% npx humanifyjs openai --apiKey="hunter2" path/to/file.js
Processing file 1/1
Waiting for the debugger to disconnect...
file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/error.mjs:59
            return new RateLimitError(status, error, message, headers);
                   ^

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:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/error.mjs:59:20)
    at OpenAI.makeStatusError (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/core.mjs:284:25)
    at OpenAI.makeRequest (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/core.mjs:328:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56810:26
    at async visitAllIdentifiers (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56696:21)
    at async file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56804:12
    at async unminify (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:206:27)
    at async Command.<anonymous> (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56874:3) {
  status: 429,
  headers: {
    'alt-svc': 'h3=":443"; ma=86400',
    'cf-cache-status': 'DYNAMIC',
    'cf-ray': '8d43fc2ac851bf81-ATL',
    connection: 'keep-alive',
    'content-length': '337',
    'content-type': 'application/json; charset=utf-8',
    date: 'Thu, 17 Oct 2024 23:14:27 GMT',
    server: 'cloudflare',
    'set-cookie': '__cf_bm=uaIxgcZPD4VfYB4P2dBQsYhMWKEhRKkeLftxqv6nXyQ-1729206867-1.0.1.1-ba5dusBf0GhPVFfdJAVycwmM4E7sU_xZResIgsgjT3fPRCTXtLABJOG_ji8oUOVMZ2oEc9VDiaVw9PSsv01Dkg; path=/; expires=Thu, 17-Oct-24 23:44:27 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=NdXm_ESal4b2HI_l4_cJcLWqiqKfJafbTxkCOIFbosg-1729206867684-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
    'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
    vary: 'Origin',
    'x-content-type-options': 'nosniff',
    'x-request-id': 'req_053729c55126de550136d98515620709'
  },
  request_id: 'req_053729c55126de550136d98515620709',
  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'
}
Originally created by @brianjenkins94 on GitHub (Oct 17, 2024). Original GitHub issue: https://github.com/jehna/humanify/issues/161 I must be doing something stupid. <img width="1512" alt="1" src="https://github.com/user-attachments/assets/86432430-03c4-4cc4-af8d-122c2fc7a409"> <img width="1512" alt="2" src="https://github.com/user-attachments/assets/dfae67c6-7008-4836-b73e-0220fa35880f"> <img width="1512" alt="3" src="https://github.com/user-attachments/assets/4162e215-2287-4294-b2e5-cd7332077857"> ``` % npx humanifyjs openai --apiKey="hunter2" path/to/file.js Processing file 1/1 Waiting for the debugger to disconnect... file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/error.mjs:59 return new RateLimitError(status, error, message, headers); ^ 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:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/error.mjs:59:20) at OpenAI.makeStatusError (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/core.mjs:284:25) at OpenAI.makeRequest (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/openai/core.mjs:328:30) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56810:26 at async visitAllIdentifiers (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56696:21) at async file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56804:12 at async unminify (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:206:27) at async Command.<anonymous> (file:///Users/bjenks/.npm/_npx/af140b73a37f3f8c/node_modules/humanifyjs/dist/index.mjs:56874:3) { status: 429, headers: { 'alt-svc': 'h3=":443"; ma=86400', 'cf-cache-status': 'DYNAMIC', 'cf-ray': '8d43fc2ac851bf81-ATL', connection: 'keep-alive', 'content-length': '337', 'content-type': 'application/json; charset=utf-8', date: 'Thu, 17 Oct 2024 23:14:27 GMT', server: 'cloudflare', 'set-cookie': '__cf_bm=uaIxgcZPD4VfYB4P2dBQsYhMWKEhRKkeLftxqv6nXyQ-1729206867-1.0.1.1-ba5dusBf0GhPVFfdJAVycwmM4E7sU_xZResIgsgjT3fPRCTXtLABJOG_ji8oUOVMZ2oEc9VDiaVw9PSsv01Dkg; path=/; expires=Thu, 17-Oct-24 23:44:27 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=NdXm_ESal4b2HI_l4_cJcLWqiqKfJafbTxkCOIFbosg-1729206867684-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', vary: 'Origin', 'x-content-type-options': 'nosniff', 'x-request-id': 'req_053729c55126de550136d98515620709' }, request_id: 'req_053729c55126de550136d98515620709', 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' } ```
kerem closed this issue 2026-03-03 13:52:35 +03:00
Author
Owner

@brianjenkins94 commented on GitHub (Oct 17, 2024):

I changed nothing and it works now 🤷‍♂️

<!-- gh-comment-id:2420840073 --> @brianjenkins94 commented on GitHub (Oct 17, 2024): I changed nothing and it works now 🤷‍♂️
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/humanify#50
No description provided.