Closed EHMilon closed 8 months ago
Hii Milon, I'm facing exactly the same issue. I'm trying again and again but I can't be able to solve this. Please text me back when you will succeed in solving this Bug.
Perhaps your free trial has expired if you are not a paid account.
"I haven't received any support from the Genie AI developer. It has been two days and I still haven't heard back."
Perhaps your free trial has expired if you are not a paid account.
are you sure. there are no announcement for paid usage genie ai extension.
i am uninstalling Genie AI extension.
I think it is your openai free account expired. I have exact the same error and I also tried different openai backed vs code extension, none worked. The openai free account expires in 3 months. After that you need to setup paid account and use pay as you go plan.
Perhaps your free trial has expired if you are not a paid account.
are you sure. there are no announcement for paid usage genie ai extension.
Sorry for the confusion. I mean the openAI account you use. It has nothing to do with this extension.
I have the same problem but can still use chatgpt on the chat.openai website.
Now I understand.
On Mon, Jun 5, 2023, 3:08 PM stinghxk @.***> wrote:
Perhaps your free trial has expired if you are not a paid account.
are you sure. there are no announcement for paid usage genie ai extension.
Sorry for the confusion. I mean the openAI account you use. It has nothing to do with this extension.
— Reply to this email directly, view it on GitHub https://github.com/ai-genie/chatgpt-vscode/issues/106#issuecomment-1576419039, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZTTBFCJV5U2BONLT4RYNT3XJWOXXANCNFSM6AAAAAAYW4T23U . You are receiving this because you authored the thread.Message ID: @.***>
Same problem.
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": "insufficient_quota" } }
~I wonder if copy/pasting the key is somehow not working properly... maybe some extra characters added or something... kinda hard to debug when the API key is obfuscated in the VSCode prompt.~
Edit: I tried manually entering the API key and got an auth error, so maybe it's not a copy/paste error, since I'd assume that would result in the same kind of auth error.
HTTP 401 Unauthorized. Make sure you are properly signed in. Clear your API Key from VS Code's [secrets storage](https://code.visualstudio.com/api/references/vscode-api#SecretStorage) with Genie: Clear API Key command. Potential reasons:
Invalid Authentication
Incorrect API key provided.
Incorrect Organization provided.
See https://platform.openai.com/docs/guides/error-codes for more details.
{
"error": {
"message": "Incorrect API key provided: sk-cnOGd***************************************KTyR. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}
Version info:
➜ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
➜ code --version
1.83.1
f1b07bd25dfad64b0167beb15359ae573aecd2cc
x64
Trying to follow advice from a comment in a similar issue thread...
:thinking: I get the same error with curl
from the command line...
➜ curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"temperature": 0.9
}'
{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
Ah, maybe this is the problem. I created an account with my work email yesterday, then I created an account with my personal email today, but used the same phone number for each.
You only get free credits for the first account associated with your phone number. Subsequent accounts are not granted free credits. I think this may include ChatGPT registration, not just API.
https://community.openai.com/t/free-trail-usage-not-working/116886/4
Confirmed! Using an API key from the first account I created, the Genie VSCode extension works on my personal machine.
Verify it's not a duplicate bug report
Describe the Bug
When i search something this error will happen:
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
i tried to reinstall, clear API still it don't work.