PyChatGPT
PyChatGPT copied to clipboard
[BUG] Cannot login
Describe the bug I can't log in. Error:
Traceback (most recent call last):
File "c:\Users\<Path>\chatgpt.py", line 3, in <module>
chat = Chat(email="<my email>", password="<my password>")
File "C:\Users\XXXXXXXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_XXXXXXXX\LocalCache\local-packages\Python39\site-packages\pychatgpt\main.py", line 56, in __init__
self._setup()
File "C:\Users\XXXXXXXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_XXXXXXXX\LocalCache\local-packages\Python39\site-packages\pychatgpt\main.py", line 145, in _setup
self._create_access_token()
File "C:\Users\XXXXXXXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_XXXXXXXX\LocalCache\local-packages\Python39\site-packages\pychatgpt\main.py", line 163, in _create_access_token
openai_auth.create_token()
File "C:\Users\XXXXXXXX\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_XXXXXXXX\LocalCache\local-packages\Python39\site-packages\pychatgpt\classes\openai.py", line 133, in create_token
raise Exceptions.Auth0Exception("Failed to make the first request, Try that again!")
pychatgpt.classes.exceptions.Auth0Exception: Failed to make the first request, Try that again!
To Reproduce Steps to reproduce the behavior:
- Run any kind of demo
- Get the error
Expected behavior Simply run without errors
Screenshots Removed because of leaked auth info. Thanks @oshcon for warning me about this.
Version Info (please complete the following information):
- Chatgptpy version: Latest version as of 25/3/2023
- Dependency version: Everything latest version as of 25/3/2023
Additional context Before you ask me, yes, the password and email ARE correct. Double-checked.
I also get this error. I displayed the error code that the site gives out and it gave out "403 Forbidden".
Maybe related to #71?