Codex CLI - Logged in with plus but - 401 unauth error - no LLM response

Open 💬 2 comments Opened Nov 21, 2025 by bp749
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.61

What subscription do you have?

Plus

Which model were you using?

gpt-5

What platform is your computer?

Linux 6.8.0-85-generic x86_64 x86_64

What issue are you seeing?

please fix Linux Codex CLI 🙏

For 3+ months I haven’t been able to use it with my paid Pro acct (browser auth).

/status confirms I’m logged in, but I can’t communicate with it. Every message returns:

🖐 unexpected status 401 Unauthorized: {"error":{"message":"No auth credentials found","code":401}}

I’ve re-logged in many times. Doesn’t work.
I update Codex every week to the latest version — same result.

Others are getting the same issue and I’ve already filed a bug.
/status
Workspace
• Path: ~/Projects/
• Approval Mode: on-request
• Sandbox: workspace-write

Model
• Name: gpt-5
• Provider: OpenAI
• Reasoning Effort: Medium
• Reasoning Summaries: Auto

What steps can reproduce the bug?

start codex
complete login
give CLI a chat command
error

also tried logging in and out, many times

also tried deleting the directory that holds the auth tokens and log out and log in again

What is the expected behavior?

LLM should respond with an answer

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 9 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #6096
  • #6042
  • #5678
  • #5667
  • #5562

Powered by Codex Action

etraut-openai contributor · 6 months ago

@bp749, were you eventually able to get it working?