Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Your version of the ChatGPT app is out of date. Please update to the newest build of the app. #44

Open
deathsovushka opened this issue Jul 12, 2023 · 4 comments

Comments

@deathsovushka
Copy link

Traceback (most recent call last):
  File "C:\Users\user\PycharmProjects\ChatGPT\main.py", line 91, in <module>
    access_token = auth.get_access_token()
  File "C:\Users\user\PycharmProjects\ChatGPT\venv\lib\site-packages\OpenAIAuth.py", line 69, in get_access_token
    return self.__part_two()
  File "C:\Users\user\PycharmProjects\ChatGPT\venv\lib\site-packages\OpenAIAuth.py", line 82, in __part_two
    return self.__part_three(code_verifier, url)
  File "C:\Users\user\PycharmProjects\ChatGPT\venv\lib\site-packages\OpenAIAuth.py", line 97, in __part_three
    return self.__part_four(code_verifier, state)
  File "C:\Users\user\PycharmProjects\ChatGPT\venv\lib\site-packages\OpenAIAuth.py", line 124, in __part_four
    return self.__part_five(code_verifier, state)
  File "C:\Users\user\PycharmProjects\ChatGPT\venv\lib\site-packages\OpenAIAuth.py", line 150, in __part_five
    return self.__part_six(code_verifier, location, url)
  File "C:\Users\user\PycharmProjects\ChatGPT\venv\lib\site-packages\OpenAIAuth.py", line 179, in __part_six
    return self.__get_access_token(code_verifier, resp.headers["Location"])
  File "C:\Users\user\PycharmProjects\ChatGPT\venv\lib\site-packages\OpenAIAuth.py", line 221, in __get_access_token
    raise Exception("{}: {}".format(error, error_description))
Exception: access_denied: Your version of the ChatGPT app is out of date. Please update to the newest build of the app.
@zutto
Copy link

zutto commented Jul 14, 2023

OpenAi changed their IOS authentication flow to require new pre-auth with their services before going to auth0, so use access tokens, or #45 until permanent fix is in place.

acheong08 pushed a commit that referenced this issue Jul 16, 2023
@acheong08
Copy link
Owner

acheong08 commented Jul 16, 2023

I got a temporary fix in for the Go version (locally. I don't want to add close sourced dependencies). Might need some annoying workarounds for python

@acheong08
Copy link
Owner

Apologize for the slow action. Caught a high fever over the past week

@acheong08
Copy link
Owner

Looks like I missed some details from #45. Device ID expires

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants