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

HTTP 429 Too Many Requests. #51

Open
2 tasks done
aminul-xs opened this issue Apr 3, 2023 · 35 comments
Open
2 tasks done

HTTP 429 Too Many Requests. #51

aminul-xs opened this issue Apr 3, 2023 · 35 comments
Labels
bug Something isn't working

Comments

@aminul-xs
Copy link

Verify it's not a duplicate bug report

Describe the Bug

HTTP 429 Too Many Requests. Too many requests try again later. You can clear your API Key from VS Code's secrets storage with Genie: Clear API Key command. Potential reasons:

You exceeded your current quota, please check your plan and billing details
You are sending requests too quickly
The engine is currently overloaded, please try again later.
See https://platform.openai.com/docs/guides/error-codes for more details.
{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": null
}
}

Please tell us if you have customized any of the extension settings or whether you are using the defaults.

default

Additional context

No response

@aminul-xs aminul-xs added the bug Something isn't working label Apr 3, 2023
@Karest2512
Copy link

image
I am also facing this. I think getting this error may be because the free account has run out of money for the trial. Excuse me because my English is not good.

@cbachen1997
Copy link

I am getting this error too. Idk whether the reason is i am using a VPN.
But the chatGPT on web still works normally, it seems to be a problem of API.

@cazzoo
Copy link

cazzoo commented Apr 3, 2023

Facing the exact same here. I couldn't get it working yet

@moonpig-vinicius-chagas
Copy link

Facing the same issue and I haven’t had opportunity to try it

@sp1ke1980
Copy link

I have the same issue in vscode.

@Salmagic
Copy link

Salmagic commented Apr 3, 2023

same here, anyone figured it out? or found an alternative pleaseeee

@genieai-info
Copy link
Contributor

Hi, As the error states you have insufficient_quota error thrown from OpenAI side, it is out of extension's control. However, here are some steps that may help you understand your issue:

  1. Make sure your account hasn't expired from here: https://platform.openai.com/account/usage
  2. Make sure you have enough credit to use OpenAI APIs from here: https://platform.openai.com/account/usage
  3. Try generating a new API Key and change the API Key used in the extension from here: https://platform.openai.com/account/api-keys. To change your API Key, Click on Change API Key on the home page of the sidebar Genie: Conversation view.

If you have an active account with credit it will show on the /usage page like this:

image

@yxw007
Copy link

yxw007 commented Apr 4, 2023

Hi, As the error states you have insufficient_quota error thrown from OpenAI side, it is out of extension's control. However, here are some steps that may help you understand your issue:

  1. Make sure your account hasn't expired from here: https://platform.openai.com/account/usage
  2. Make sure you have enough credit to use OpenAI APIs from here: https://platform.openai.com/account/usage
  3. Try generating a new API Key and change the API Key used in the extension from here: https://platform.openai.com/account/api-keys. To change your API Key, Click on Change API Key on the home page of the sidebar Genie: Conversation view.

If you have an active account with credit it will show on the /usage page like this:

image

thanks,use the new key, normal work

@viking1304
Copy link

viking1304 commented Apr 4, 2023

Guys, please try to search for a similar issue before posting.

Most developers (including me) would just close this issue with a remark that this is a duplicate since this is exactly the same issue as #25

@genieai-info when someone is trying to post a new issue, they currently have those two checkboxes

[ ] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. [Search all issuees](https://github.com/ai-genie/vscode-chatgpt/issues?q=). *

[ ] I read [Troubleshooting guide on Readme](https://github.com/ai-genie/vscode-chatgpt#troubleshooting) and there is not a guide on how to solve my problem. *

Adding a new section with some additional checkboxes might be a good idea.

Additional checks in case of 429 Too Many Requests error

Confirm that you did check and understood all of the following

[ ] I have read the ChatGPT API FAQ, and I am aware that OpenAI API is not part of the ChatGPT Plus subscription and that I need to pay for it separately

[ ] I have checked that my account is not expired

[ ] I have checked that I have enough credit on my account

[ ] I have tried to use cURL, and I am not getting the 429 error with cURL

@sp1ke1980
Copy link

Good point, but I've tested with different api keys and problem just only with your extension. When I'm doing request with other application, the problem is not appearing

@antisect
Copy link

antisect commented Apr 4, 2023

was getting this error, signed up for a brand new chatGPT account and new api key and im still getting this error

@Salmagic
Copy link

Salmagic commented Apr 4, 2023

i also made a brand new account and was still getting the error, it was only when i set up a new phone number then it stared working again, but it says i got a 5USD credit which will expire fast, so i guess the problem was not having enough credit.. sadly

@yxw007
Copy link

yxw007 commented Apr 4, 2023

Clean up the key first, and then add a new key. try again

@xiaoouwang
Copy link

clean and add a new key, doesn't work. I have chatgpt plus api.

@skossan
Copy link

skossan commented Apr 5, 2023

I also have the same issue with this extension. Cleaned API key and added a new one, still the same issue.

@ianccy
Copy link

ianccy commented Apr 6, 2023

Got the same problem today.

i have tried to reset the new api key but it's still not work.

@uekky
Copy link

uekky commented Apr 6, 2023

I have remedied this problem by creating a new API key after adding a payment method!

@ianccy
Copy link

ianccy commented Apr 6, 2023

i also found the way to solve the problem. The way is register the new account...

@tn00251521
Copy link

tn00251521 commented Apr 7, 2023

Same here. Cleaned, register the new account , still doesn't work

@piavgh
Copy link

piavgh commented Apr 7, 2023

same here, still working fine on chat.openai.com, but using Genie, it does not work

@viking1304
Copy link

Guys, I am sorry to be "that" guy, but with all due respect, is it hard to read what other people write and check a few simple things?

You have to understand that you need a free trial of OpenAI API or pay for it. It is not part of ChatGPT Plus, and if chat.openai.com works for you, that doesn't mean you have the right to use API and that it will work.

Even if you didn't spend any of your credit
Screenshot 2023-04-07 at 09 59 51

you can't use the API if your trial is expired
Screenshot 2023-04-07 at 09 59 36

and you will get 429 responses every single time, even if you create 100 new keys.

I was also confused at first and complained that the previous plugin didn't work for me until I finally realized I was wrong from the beginning.

The only way to help developers is to resolve the bug, if it exists, is to understand this message, check everything on your side, test your key with cULR and post the response if it is anything other than 429.

Please do all of those:

  1. read the ChatGPT API FAQ
  2. check your Usage limits. "You must be on a paid plan to set up usage limits" means that you are using a free API trial, even if you are ChatGPT Plus subscriber
  3. if you didn't pay for API, check your account and see if your trial is expired
  4. on the same page, check that you have enough credit if the trial is not expired
  5. if everything is fine there, check with cURL and post the result

@viking1304
Copy link

clean and add a new key, doesn't work. I have chatgpt plus api.

I am sorry, but I have to tell you the sad truth. API usage is not included in your ChatGPT Plus subscription. You need to pay for API or to use the free trial if you want to use API. Read the ChatGPT API FAQ

@xiaoouwang
Copy link

  1. https://platform.openai.com/account/usage

Guys, I am sorry to be "that" guy, but with all due respect, is it hard to read what other people write and check a few simple things?

You have to understand that you need a free trial of OpenAI API or pay for it. It is not part of ChatGPT Plus, and if chat.openai.com works for you, that doesn't mean you have the right to use API and that it will work.

Even if you didn't spend any of your credit Screenshot 2023-04-07 at 09 59 51

you can't use the API if your trial is expired Screenshot 2023-04-07 at 09 59 36

and you will get 429 responses every single time, even if you create 100 new keys.

I was also confused at first and complained that the previous plugin didn't work for me until I finally realized I was wrong from the beginning.

The only way to help developers is to resolve the bug, if it exists, is to understand this message, check everything on your side, test your key with cULR and post the response if it is anything other than 429.

Please do all of those:

  1. read the ChatGPT API FAQ
  2. check your Usage limits. "You must be on a paid plan to set up usage limits" means that you are using a free API trial, even if you are ChatGPT Plus subscriber
  3. if you didn't pay for API, check your account and see if your trial is expired
  4. on the same page, check that you have enough credit if the trial is not expired
  5. if everything is fine there, check with cURL and post the result

Yeah, now I see why. It's a twisted and tricky move from openai to make these two billed separately. That's why a lot of people got confused I guess even with the instructions above.

So yes,

Is the ChatGPT API included in the ChatGPT Plus subscription?: No, the ChatGPT API and ChatGPT Plus subscription are billed separately.

@viking1304
Copy link

Yeah, now I see why. It's a twisted and tricky move from openai to make these two billed separately. That's why a lot of people got confused I guess even with the instructions above.

I have a feeling that a lot of Plus subscribers would never pay for it if they knew that they cannot use API. Also, in most cases, it is also much cheaper to pay for API than to pay for a Plus subscription.

@xiaoouwang
Copy link

xiaoouwang commented Apr 7, 2023 via email

@oywino
Copy link

oywino commented Apr 14, 2023

How come my free API account expired on April 1st when it was created today (April 14) ?!?
Did it expire backwards in time?
Is this a negative free time? 😶

image

@SirKennethYan
Copy link

How come my free API account expired on April 1st when it was created today (April 14) ?!? Did it expire backwards in time? Is this a negative free time? 😶

image

Same. I just installed Genie yesterday on VSCode and it said I have expired credits which expired on the 1st.

@viking1304
Copy link

@oywino and @kennyan11b - if you applied for a DALL·E access before, your API trial started when you got confirmation mail that you can try DALL·E

Check your emails and see if you have a mail titled "Your invite to create with DALL·E is here." If you have it check the date.

btw. new accounts will get only $5.00 credits instead of $18.00. If you see $18.00, you can be 99.99999999% sure that your trial is already expired.

@oywino
Copy link

oywino commented Apr 17, 2023

Hi, I decided to sign up, and mine now looks like this:

image

@RonaldGuilhermePDS
Copy link

Hey, Is there a way to use this extension without needing a login?

@faqcodes
Copy link

faqcodes commented Apr 19, 2023

You must pay to use Open AI API
image

@VyacheslavKolodrubskiy
Copy link

Hey, Is there a way to use this extension without needing a login?

You can use ChatGPT - EasyCode, no account or API key required

@programmerrmasud
Copy link

Create a New GPT account and log in by using this one. It will be solved 100% .

@maheshpansare
Copy link

I'm facing the same issue with HTTP 429 even though I have a credit of $2500 and have paid a subscription.

@matthewbreisch
Copy link

What a scam. This whole thing left a bad taste in my mouth.

@bagrounds bagrounds mentioned this issue Oct 26, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests