chatgpt-vscode
chatgpt-vscode copied to clipboard
HTTP 429 Too Many Requests.
Verify it's not a duplicate bug report
- [X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
- [X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.
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
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.
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.
Facing the exact same here. I couldn't get it working yet
Facing the same issue and I haven’t had opportunity to try it
I have the same issue in vscode.
same here, anyone figured it out? or found an alternative pleaseeee
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:
- Make sure your account hasn't expired from here: https://platform.openai.com/account/usage
- Make sure you have enough credit to use OpenAI APIs from here: https://platform.openai.com/account/usage
- 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:
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:
- Make sure your account hasn't expired from here: https://platform.openai.com/account/usage
- Make sure you have enough credit to use OpenAI APIs from here: https://platform.openai.com/account/usage
- 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:
thanks,use the new key, normal work
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 https://github.com/ai-genie/chatgpt-vscode/issues/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
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
was getting this error, signed up for a brand new chatGPT account and new api key and im still getting this error
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
Clean up the key first, and then add a new key. try again
clean and add a new key, doesn't work. I have chatgpt plus api.
I also have the same issue with this extension. Cleaned API key and added a new one, still the same issue.
Got the same problem today.
i have tried to reset the new api key but it's still not work.
I have remedied this problem by creating a new API key after adding a payment method!
i also found the way to solve the problem. The way is register the new account...
Same here. Cleaned, register the new account , still doesn't work
same here, still working fine on chat.openai.com, but using Genie, it does not work
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
you can't use the API if your trial is expired
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:
- read the ChatGPT API FAQ
- 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
- if you didn't pay for API, check your account and see if your trial is expired
- on the same page, check that you have enough credit if the trial is not expired
- if everything is fine there, check with cURL and post the result
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
- 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
you can't use the API if your trial is expired
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:
- read the ChatGPT API FAQ
- 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
- if you didn't pay for API, check your account and see if your trial is expired
- on the same page, check that you have enough credit if the trial is not expired
- 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.
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.
Yes I just calceled my subscription. Will test how much I consumed with the api. Thanks to this extension 🤣
On Fri, Apr 7, 2023, 11:04 viking1304 @.***> wrote:
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.
— Reply to this email directly, view it on GitHub https://github.com/ai-genie/chatgpt-vscode/issues/51#issuecomment-1500095133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2IFY4DBP2O4LX3GE7R2VTW77KBZANCNFSM6AAAAAAWQYPS34 . You are receiving this because you commented.Message ID: @.***>
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? 😶
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? 😶
Same. I just installed Genie yesterday on VSCode and it said I have expired credits which expired on the 1st.
@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.
Hi, I decided to sign up, and mine now looks like this:
Hey, Is there a way to use this extension without needing a login?