stream error: unexpected status 400 Bad Request:

Resolved 💬 6 comments Opened Sep 11, 2025 by stretchcloud Closed Nov 9, 2025

What version of Codex is running?

codex-cli 0.34.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

Upgrade the CLI to the latest one.
Set the ~/.codex/config.toml to authenticate using Azure OpenAI instance
Run codex

What is the expected behavior?

_No response_

What do you see instead?

<img width="638" height="906" alt="Image" src="https://github.com/user-attachments/assets/65cf80a9-d5fa-4ebc-a41d-93e4d6881f60" />

Additional information

_No response_

View original on GitHub ↗

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