code 400

Resolved 💬 2 comments Opened Dec 17, 2025 by aliaxy Closed Mar 29, 2026

What version of Codex is running?

codex-cli 0.73.0

What subscription do you have?

3rd party, my company built

Which model were you using?

_No response_

What platform is your computer?

Darwin 25.2.0 arm64 arm

What issue are you seeing?

{"error":{"message":"Input required: specify \"prompt\" or
\"messages\"","code":400},"user_id":"user_2mgbKxUuNB4ks4PEmPZ2kbBiwq5"}

What steps can reproduce the bug?

config.toml

model_provider = "xxxx"
model = "gpt-5.2"
preferred_auth_method = "apikey"

[model_providers.xxxx]
name = "xxxx"
base_url = "https://api.xxxxxx.cn/v1"
env_key = "xxxxxx_API_KEY"
wire_api = "responses"

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 ↗