Why am I receiving an "insufficient_quota" error from OpenAI's ChatGPT despite not exceeding any usage limits?

This topic was automatically generated from Slack. You can find the original thread here.

Hey all,

I have a workflow that was working fine for months until yesterday. Now, when trying to use the OpenAI (ChatGPT) step, I receive this error:

AxiosError - Request failed with status code 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"}}

Details
    at null.settle (/tmp/__pdg__/dist/code/71ff5f6aecb34a45767acb0fb7e77fe3797747ef76107809af70d13f5d0badf6/node_modules/.pnpm/axios@1.7.5/node_modules/axios/dist/node/axios.cjs:2019:12)
    at IncomingMessage.handleStreamEnd (/tmp/__pdg__/dist/code/71ff5f6aecb34a45767acb0fb7e77fe3797747ef76107809af70d13f5d0badf6/node_modules/.pnpm/axios@1.7.5/node_modules/axios/dist/node/axios.cjs:3135:11)
    at IncomingMessage.emit (node:events:531:35)
    at null.endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at null.callAxios (/tmp/__pdg__/dist/code/71ff5f6aecb34a45767acb0fb7e77fe3797747ef76107809af70d13f5d0badf6/node_modules/.pnpm/@pipedream+platform@1.6.6/node_modules/@pipedream/platform/dist/axios.js:110:26)
    at Object._makeCompletion (file:///tmp/__pdg__/dist/code/71ff5f6aecb34a45767acb0fb7e77fe3797747ef76107809af70d13f5d0badf6/code/openai.app.mjs:327:20)
    at Object.run (file:///tmp/__pdg__/dist/code/71ff5f6aecb34a45767acb0fb7e77fe3797747ef76107809af70d13f5d0badf6/code/actions/chat/chat.mjs:56:22)
    at null.executeComponent (/var/task/launch_worker.js:292:22)
    at MessagePort.messageHandler (/var/task/launch_worker.js:792:28)

I’ve checked my OpenAI dashboard and I haven’t hit any usage limits.
But just to be sure, I tried a different account with a different API and I received the exact same error.

Any thoughts on what I could be doing wrong?

you may be out of credits on OpenAI? This is normally a billing issue in your OpenAI account and not related to a pipedream error