Skip to content

Failed to refresh token: 401 Unauthorized: Your refresh token has already been used to generate a new access token. Please try signing in again. #6036

Closed

Description

@carstenh

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

Activity

  1. added
    bug
    on Oct 31, 2025
  2. carstenh commented on Oct 31, 2025

    @carstenh
    Author

    Used /logout and logged in again

  3. DanOpcode commented on Jan 23, 2026

    @DanOpcode

    Thanks, logging in again did the trick. I had the problem with ChatGPT Codex as well

  4. abehuman commented on Feb 15, 2026

    @abehuman

    Thanks /logout solved.

    i could not find gpt-5.3-codex model but logout and signin solved.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions