gencay / vscode-chatgpt

An unofficial Visual Studio Code - OpenAI ChatGPT integration
ISC License
3.5k stars 760 forks source link

ChatGPTAPI error 404 #85

Closed ghost closed 1 year ago

ghost commented 1 year ago

My extension stopped working, I'm getting a ChatGPTAPI error 404 error. Tried everything, even creating a new API key, but I still keep getting this error.

aent0n commented 1 year ago

experiencing exactly the same.. +1

tiagorangel1 commented 1 year ago

Also experiencing the same with chatGPT, google login (with 2fa)

ncesar commented 1 year ago

Try changing to OpenAI Authentication. I don't have these issues.

It may be related to google 2fa.

tiagorangel1 commented 1 year ago

I'm going to try making 2 accounts

César Nascimento @.***> escreveu no dia quinta, 2/02/2023 à(s) 16:01:

Try changing to OpenAI Authentication. I don't have these issues.

It may be related to google 2fa.

— Reply to this email directly, view it on GitHub https://github.com/gencay/vscode-chatgpt/issues/85#issuecomment-1413978265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3M5XVHQYK2QSTFAV2QOX3WVPK6NANCNFSM6AAAAAAUOTOAAQ . You are receiving this because you commented.Message ID: @.***>

gencay commented 1 year ago

I just tested with Browser Autologin method + Google Authentication. I don't see any errors. Could you please check again if you are able to reproduce the issue? Thanks

gencay commented 1 year ago

If the issue persists please switch to OpenAI API Key method for better reliability. Check my answer here: https://github.com/gencay/vscode-chatgpt/issues/76#issuecomment-1416904857

gencay commented 1 year ago

fyi, I've released a new version V3.5.4 with a potential fix for the HTTP 404 error. This used to happen if you have previously selected OpenAI API Key method but switched to Browser method without clearing your session(conversation details). The extension will now automatically clear your session to reliably switch between methods.

phanthai12 commented 1 year ago

ChatGPT continue 404 error Log:

2023-02-08 10:49:56.911 [error] Error: ChatGPT error 404
    at gre (c:\Users\default\.vscode\extensions\gencay.vscode-chatgpt-3.5.6\out\extension.js:678:536)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

My setting:

gencay commented 1 year ago

@phanthai12 the pre-release ChatGPT model is deprecated by OpenAI today. I updated the extension with the default model text-davinci-003. Please upgrade your extension to the latest.