Skip to content

Your access token could not be refreshed because your refresh token was revoked. Codex

Quick fix

Log out and restart the computer, or end the Codex process and sign in again so Codex uses the latest authorization.

Error output
Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again.

In this issue, Codex did not use the latest authorization after `/exit` and restart; it kept using the original authorization, so the error persisted after the refresh token was revoked.

  1. Exit Codex, restart the computer, then sign in again.

  2. If you do not want to restart the computer, end the Codex process, then restart it and sign in.

ToolCodex
Version3.16.6(受影响)
PlatformsWindows
How exactly do I perform this solution?
Restart the computer, or end the Codex process, restart it, and sign in again.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.