Error details: Status: 401, Code: mismatched_organization,
What version of Codex is running?
0.1.2505161800
Which model were you using?
codex-mini-latest
What platform is your computer?
darwin | arm64 | 23.6.0
What steps can reproduce the bug?
- ```
test
```
0 reasoning|0 tool
What is the expected behavior?
It just stopped working one day. There is money in the account, the organization is verified, and I have tried to recreate the API key many times.
What do you see instead?
OpenAI rejected the request (request ID: req_f1fd16f906f5ad6e7ac336a4976ad6fc). Error details: Status: 401, Code: mismatched_organization, Type: invalid_request_error, Message: 401 OpenAI-Organization header should match organization for API key. Please verify your settings and try again.
Additional information
I don't even see Open AI models when typing /model.
<img width="1470" alt="Image" src="https://github.com/user-attachments/assets/67e5ff76-2463-4291-a7f9-347560dd7f2b" />
<img width="581" alt="Image" src="https://github.com/user-attachments/assets/4316a380-ad6f-4d7a-a95d-85191c9dab8a" />