JudiniLabs / code-gpt-docs

Docusaurus page
https://code-gpt-docs.vercel.app
MIT License
565 stars 58 forks source link

Error 429 on code gpt even though works in chat browser #110

Closed Saad-Alareqi closed 4 months ago

Saad-Alareqi commented 1 year ago

Hi, i get this error: OpenAI: API Response was: Error 429: You exceeded your current quota, please check your plan and billing details.

i checked my quota in settings on my account and i only used 0.12$ from 18$ of free plan. also tried using gpt in chat.openai.com/chat and it works fine and there is no limitation. so there might be an error with the extension?

davila7 commented 1 year ago

@Saad-Alareqi

please check if the expiration date of your credits has not expired.

gordondm commented 1 year ago

same here: I am getting the error 429 in VSCode, but the browser works fine.

image
gabrielbull commented 1 year ago

Same here. I have the paid version of ChatGPT too so it looks like it is not using the correct API Key.

image
maycomayco commented 1 year ago

What version of VSCode are you using?

gordondm commented 1 year ago

The problem is solved, but I am confused now. there are two ways to pay for your subscription:

  1. $20 for ChatGPT Plus Subscription, at pay.openai.com it gives you access to chatGPT4 in the browser, but I was getting the error 429 in VSCode
  2. in openai billing page platform.openai.com/account/billing it enables VSCode to access chaGRP with the API key.

Even though I paid #1 for ChatGPT Plus Subscription, I had to enable a payment plan at #2 in order to use it with VSCode.

maycomayco commented 1 year ago

The problem is solved, but I am confused now. there are two ways to pay for your subscription:

  1. $20 for ChatGPT Plus Subscription, at pay.openai.com it gives you access to chatGPT4 in the browser, but I was getting the error 429 in VSCode
  2. in openai billing page platform.openai.com/account/billing it enables VSCode to access chaGRP with the API key.

Even though I paid #1 for ChatGPT Plus Subscription, I had to enable a payment plan at #2 in order to use it with VSCode.

So, could you use the CodeGPT extension only if you put your Credit Card data in your openAI account?

gordondm commented 1 year ago

I don't know, my ChatGPT Plus Subscription didn't expire yet

On Fri, May 5, 2023 at 11:16 AM Mayco Barale @.***> wrote:

The problem is solved, but I am confused now. there are two ways to pay for your subscription:

  1. $20 for ChatGPT Plus Subscription, at pay.openai.com it gives you access to chatGPT4 in the browser, but I was getting the error 429 in VSCode
  2. in openai billing page platform.openai.com/account/billing it enables VSCode to access chaGRP with the API key.

Even though I paid #1 https://github.com/davila7/code-gpt-docs/issues/1 for ChatGPT Plus Subscription, I had to enable a payment plan at #2 https://github.com/davila7/code-gpt-docs/issues/2 in order to use it with VSCode.

So, could you use the CodeGPT extension only if you put your Credit Card data in your openAI account?

— Reply to this email directly, view it on GitHub https://github.com/davila7/code-gpt-docs/issues/110#issuecomment-1536412169, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABB6KBAHVDGABHYXXJ2L4XLXEUKVHANCNFSM6AAAAAAWXO2N74 . You are receiving this because you commented.Message ID: @.***>

krb3d commented 1 year ago

same here: I am getting the error 429 in VSCode, but the browser works fine. image

same for me

nomocas commented 1 year ago

Same for me.

Even if I reset the api key, delete it and reset it, etc.

Nothing changes.

DamirMakhmudov commented 1 year ago

Same for me. U use free plan, and it works on chat open AI page on browser. Limit is not expired. But not in chatCode extension, already updated api key, but steel have trouble

image
PilarHidalgo commented 4 months ago

Hi, the error you're encountering is related to the rate limit of your OpenAI API. This error typically occurs when the number of requests sent to the API exceeds the limit set by your current plan. Even though you have only used a small portion of your credit, the number of requests you're making might be too high.

You can check your usage details and rate limits by logging into your OpenAI account at https://openai.com/api/. If you continue to experience this issue, it might be worth considering an upgrade to a plan with a higher rate limit.