codex icon indicating copy to clipboard operation
codex copied to clipboard

BUG: Status 400 Missing required parameter input[133].id

Open trethore opened this issue 1 year ago • 12 comments

What version of Codex is running?

0.59

What subscription do you have?

Plus

Which model were you using?

gpt5.1-codex-max (medium)

What platform is your computer?

windows wsl

What issue are you seeing?

This bug happened midway through the chat with the model.

unexpected status 400 Bad Request: {
  "error": {
    "message": "Missing required parameter: 'input[133].id'.",
    "type": "invalid_request_error",
    "param": "input[133].id",
    "code": "missing_required_parameter"
  }
}

What steps can reproduce the bug?

Uploaded thread: 019a9d7b-5f0d-7b52-aa07-024594d6e04e

I don’t know much about it, so I hope this thread helps.

What is the expected behavior?

Answer correctly to my requests.

Additional information

No response

Current fix

Set web_search_request = false in your config.toml. It seems that tool calls are currently broken with this model.

trethore avatar Nov 19 '25 19:11 trethore

I've had the same thing: ■ unexpected status 400 Bad Request: { "error": { "message": "Missing required parameter: 'input[17].id'.", "type": "invalid_request_error", "param": "input[17].id", "code": "missing_required_parameter" } }

RLTree avatar Nov 19 '25 19:11 RLTree

This is still happening in v0.60.1, at least when using a thread created in v0.59.

trethore avatar Nov 19 '25 19:11 trethore

Same issue - can't do anything with the model right now

jamneutrino avatar Nov 19 '25 20:11 jamneutrino

■ unexpected status 400 Bad Request: { "error": { "message": "Missing required parameter: 'input[1145].id'.", "type": "invalid_request_error", "param": "input[1145].id", "code": "missing_required_parameter" } }

Same cant /compact as well

mugabi0978 avatar Nov 19 '25 20:11 mugabi0978

I'm seeing this exact behavior as well.

Thromshall avatar Nov 19 '25 20:11 Thromshall

Guys, turn off web_search_request

rafaelob avatar Nov 19 '25 20:11 rafaelob

broken

nachoal avatar Nov 19 '25 20:11 nachoal

Same error with different input IDs: 019a9dca-5b25-7643-a5cd-ee943aa36ea2 (5.1-codex-max-high) and 019a9de5-1f98-7fb0-a21e-a8acad8310b4 (GPT-5.1.)

DanielMulec avatar Nov 19 '25 21:11 DanielMulec

Guys, turn off web_search_request

Can confirm this works as a workaround for now

jamneutrino avatar Nov 19 '25 21:11 jamneutrino

Probably it is landing in https://github.com/openai/codex/pull/6943

bhack avatar Nov 19 '25 22:11 bhack

Any update on this? I found something similar to https://github.com/openai/codex/issues/6968

bhack avatar Nov 22 '25 00:11 bhack

I think this has been fixed. Let us know if you're still seeing it with the latest version.

etraut-openai avatar Dec 08 '25 18:12 etraut-openai