Failed to refresh token: 401 Unauthorized: Your refresh token has already been used to generate a new access token. Please try signing in again.
Resolved 💬 4 comments Opened Oct 31, 2025 by carstenh Closed Oct 31, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.53.0
What subscription do you have?
Plus
Which model were you using?
GPT-5 codex
What platform is your computer?
Darwin 25.0.0 arm64 arm
What issue are you seeing?
I always get the error "Failed to refresh token: 401 Unauthorized: Your refresh token has already been used to generate a new access token. Please try signing in again."
What steps can reproduce the bug?
Uploaded thread: 019a3a61-3d73-72b2-bc14-c0b33b8d1fc1
What is the expected behavior?
_No response_
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Used /logout and logged in again
Thanks, logging in again did the trick. I had the problem with ChatGPT Codex as well
Thanks /logout solved.
i could not find gpt-5.3-codex model but logout and signin solved.
<img width="555" height="421" alt="Image" src="https://github.com/user-attachments/assets/be8beab5-e1a3-4d85-9e1b-8c24393a9445" />