Anything I do is failing with `Missing required parameter: 'input[3].id'.`

Resolved 💬 8 comments Opened Sep 12, 2025 by adhishthite Closed Nov 9, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

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?

  1. Open Codex: codex --profile gpt-5
  2. Ask any question

What is the expected behavior?

A standard answer.

What do you see instead?

{ 
 "error": {
    "message": "Missing required parameter: 'input[3].id'.",
    "type": "invalid_request_error",
    "param": "input[3].id",
    "code": "missing_required_parameter"
  }
}

Additional information

I use a profile:

[profiles.gpt-5]
model_provider = "azure"
model = "gpt-5"
model_reasoning_effort = "high"

[model_providers.azure]
name = "Azure"
base_url = "https://tenant.openai.azure.com/openai"
env_key = "AZURE_OPENAI_CODEX_KEY"
query_params = { api-version = "2025-04-01-preview" }
wire_api = "responses"

View original on GitHub ↗

8 Comments

DevOps-zhuang · 10 months ago

It is said that 0.34 version doesn't support Azure OpenAI now, so have to rollback to 0.31 version.

adhishthite · 10 months ago

Can’t rollback from brew! :(On 12 Sep 2025, at 10:23 AM, Zhuang @.***> wrote:DevOps-zhuang left a comment (openai/codex#3509)
It is said that 0.34 version doesn't support Azure OpenAI now, so have to rollback to 0.31 version.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

d3vw · 10 months ago
⚠️ stream error: unexpected status 400 Bad Request: {
  "error": {
    "message": "Missing required parameter: 'input[2].id'.",
    "type": "invalid_request_error",
    "param": "input[2].id",
    "code": "missing_required_parameter"
  }
}; retrying 2/5 in 406ms…

here are my log, azure too

rxreyn3 · 10 months ago
adhishthite · 10 months ago

@DevOps-zhuang I think you put a solution here right? Did you get it working?

HELIOPOTELICKI · 10 months ago

Same problem here, only work on "npm install -g @openai/codex@0.31.0" version

evmin · 10 months ago

+1

And looks like 0.31.0 is no longer picking up model deployment from "model" field.

This one fails:

model          = "gpt-5-2025-08-07"
etraut-openai contributor · 8 months ago

I think this has been fixed. If you're still seeing this with the most recent version of codex, please open a new bug report.