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.
Symptom
Section titled “Symptom”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.
Exit Codex, restart the computer, then sign in again.
If you do not want to restart the computer, end the Codex process, then restart it and sign in.
Affected Versions
Section titled “Affected Versions”ToolCodex
Version3.16.6(受影响)
PlatformsWindows
Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- How exactly do I perform this solution?
- Restart the computer, or end the Codex process, restart it, and sign in again.
Related problems
Section titled “Related problems”“Homepage Not Responding” — Codex Fails to Add a Blank Configuration FileUpdate CC Switch to the latest version and retry; reproduction details are insufficient, and no fix has been confirmed.Codex CLI failure: CC SwitchUpgrade cc-switch to v3.16.3 or later to fix blockers in local environment detection and the upgrade flow.Error in .codex cc-switch.db causes cc-switch startup failureClose cc-switch, clean records with empty base_url in cc-switch.db, or delete the database file and restart.
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.