Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot login #143

Open
tiagorangel1 opened this issue Mar 25, 2023 · 2 comments
Open

[BUG] Cannot login #143

tiagorangel1 opened this issue Mar 25, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@tiagorangel1
Copy link

tiagorangel1 commented Mar 25, 2023

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:

  1. Run any kind of demo
  2. 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.

@tiagorangel1 tiagorangel1 added the bug Something isn't working label Mar 25, 2023
@egorbabushka
Copy link

I also get this error. I displayed the error code that the site gives out and it gave out "403 Forbidden".

@tiagorangel1
Copy link
Author

Maybe related to #71?

@tiagorangel1 tiagorangel1 mentioned this issue Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants