PyChatGPT
PyChatGPT copied to clipboard
[BUG]
Access Token missing or expired. Attempting to create them... [OpenAI] Email address: [email protected] [OpenAI] Password: xxxxxxxxxxxx [OpenAI] Beginning auth process [OpenAI][1] Making request to https://chat.openai.com/auth/login [OpenAI][1] Request was successful [OpenAI][2] Beginning part two [OpenAI][2] Grabbing CSRF token from https://chat.openai.com/api/auth/csrf [OpenAI][2] Request was successful [OpenAI][2] CSRF Token: 6f87806b5ca866b76f4a63e46e5de7208fe0155d11ef2b6e2d6acbac0576d563 [OpenAI][3] Beginning part three [OpenAI][3] Making request to https://chat.openai.com/api/auth/signin/auth0?prompt=login Traceback (most recent call last): File "/home/container/app.py", line 9, in
chat = Chat(email="[email protected]", password="xxxxxxxxxx") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/main.py", line 56, in init self._setup() File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/main.py", line 145, in _setup self._create_access_token() File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/main.py", line 163, in _create_access_token openai_auth.create_token() File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/classes/openai.py", line 131, in create_token self._part_two() File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/classes/openai.py", line 157, in _part_two self._part_three(token=csrf_token) File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/classes/openai.py", line 192, in _part_three raise Exceptions.IPAddressRateLimitException("[OpenAI][3] Bad request from your IP address, " pychatgpt.classes.exceptions.IPAddressRateLimitException: [OpenAI][3] Bad request from your IP address, try again in a few minutes
same here