unexpected status 401 Unauthorized: Missing Authentication header, url: https://openrouter.ai/api/v1/responses, cf-ray: 9d8b2dd4eb1d5671-AMS

Resolved 💬 2 comments Opened Mar 7, 2026 by ronithrashmikara Closed Mar 7, 2026

What version of the Codex App are you using (From “About Codex” dialog)?

latest

What subscription do you have?

free

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Just Installed the codex application it tries to reconnect and also tried the cli same error

unexpected status 401 Unauthorized: Missing Authentication header, url: https://openrouter.ai/api/v1/responses, cf-ray: 9d8b2dd4eb1d5671-AMS

<img width="575" height="420" alt="Image" src="https://github.com/user-attachments/assets/6e56a6cb-fd90-444f-bc80-2e7fa1e5b5ac" />

What steps can reproduce the bug?

Don't know
I tried clearing all the env variables related to api keys , tried deleting the auth file too didn't work relogged in many times error persists

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗