WebChatGPT icon indicating copy to clipboard operation
WebChatGPT copied to clipboard

Failed to fetch Auth value (403, Forbidden), supply path to correct cookies

Open t-mck opened this issue 1 year ago • 5 comments

I routinely get the following error despite following the setup instructions:

WebChatGPT.errors.VerificationError: Failed to fetch Auth value (403, Forbidden), supply path to correct cookies. Incase you have no idea on how to get the cookies check the documentation at - https://github.com/Simatwa/WebChatGPT

I have a copy of the cookies.json, I am running python 3.10, have an open instance of the model running in either Google Chrome, or Firefox (both fail for the same reason, and I recreated my cookies file when I switch browsers).

I have noticed that the url used throughout the code is some version of: https://chat.openai.com, and that OpenAI has changed that to https://chatgpt.com. So in order to troubleshoot I changed every instance of that url in the utils.py, however it does not fix the problem.

Note that my code routine gets a 403 error after running line 101 of the Utils.py file, and on line 106 there is comment that says: "# This sh*t here is raising http 403 in Python 3.9. Consider fixing it.", I'm wondering if there is an updated in an underlying library that is causing python 3.10 to end up with a 403 error? Or if it is some OpenAI change, or something I am doing incorrectly.

t-mck avatar Jun 18 '24 21:06 t-mck

same issue too

11100010 avatar Jun 26 '24 07:06 11100010

have the same problem

tddevel avatar Jun 28 '24 18:06 tddevel

same Failed to fetch Auth value (403, Forbidden), waiting for the solution.

dongyups avatar Oct 15 '24 08:10 dongyups

same issue

progeroffline avatar Oct 16 '24 21:10 progeroffline

any fix for this ?

tares003 avatar Jan 01 '25 02:01 tares003