Skip to content

Report Azure API Bug [Invalid 'input[2].id'] #9131

Closed as duplicate
Closed as duplicate

Description

@LeXwDeX

What version of Codex is running?

codex-cli 0.80.0

What subscription do you have?

Azure OpenAI API

Which model were you using?

No response

What platform is your computer?

No response

What issue are you seeing?

 {
  "error": {
    "message": "Invalid 'input[2].id': 'review:rollout:user'. Expected an ID that contains letters, numbers, underscores, or dashes, but this
value contained additional characters.",
    "type": "invalid_request_error",
    "param": "input[2].id",
    "code": "invalid_value"
  }
}

What steps can reproduce the bug?

  1. Open CODEX-CLI.

  2. In a project, trigger a “Code review.”

  3. After the review output finishes, continue in the same session with a follow-up prompt / next task (e.g., “upgrade this session’s work to the latest framework” / “continue with an upgrade plan based on the review”).

  4. When CODEX sends the next request, it immediately errors out and stops (instead of continuing to generate output).

What is the expected behavior?

No response

Additional information

No response

Activity

  1. changed the title [-]Report Azure API Bug[/-] [+]Report Azure API Bug [Invalid 'input[2].id'][/+] on Jan 13, 2026
  2. added
    CLIIssues related to the Codex CLI
    azureIssues related to the Azure-hosted OpenAI models
    code-reviewIssues relating to code reviews performed by codex
    on Jan 13, 2026
  3. etraut-openai commented on Jan 13, 2026

    @etraut-openai
    Contributor

    Could you please post your config settings for your model provider? Are you using the "responses" wire_api?

  4. LeXwDeX commented on Jan 14, 2026

    @LeXwDeX
    Author

    Could you please post your config settings for your model provider? Are you using the "responses" wire_api?

    Hi,this is my config

    model = "gpt-5.1-codex-max"
    model_provider = "azure"
    model_reasoning_effort = "xhigh"
    
    [model_providers.azure]
    name = "Azure OpenAI"
    base_url = "https://mydomain.openai.azure.com/openai/v1"
    env_key = "AZURE_OPENAI_API_KEY"
    wire_api = "responses"
    
    [mcp_servers.sequential-thinking]
    command = "npx"
    args = ["-y", "@modelcontextprotocol/server-sequential-thinking"]
    
    [mcp_servers.chrome-devtools]
    command = "npx"
    args = ["-y", "chrome-devtools-mcp@latest", "--executablePath=/usr/bin/chromium-browser", "--headless=true", "--isolated=true", "--chrome-arg=--no-sandbox", "--chrome-arg=--disable-setuid-sandbox", "--chrome-arg=--disable-dev-shm-usage", "--chrome-arg=--disable-gpu", "--logFile=/tmp/chrome-devtools-mcp.log"]
    env = { PYTHONIOENCODING = "utf-8", REQUEST_TIMEOUT = "30", DEBUG = "*" }
    startup_timeout_sec = 20
    tool_timeout_sec = 120
    
    [features]
    unified_exec = true
    shell_snapshot = true
  5. etraut-openai commented on Jan 14, 2026

    @etraut-openai
    Contributor

    You're using two experimental features: unified_exec and shell_snapshot. If you disable these, does the problem go away?

  6. LeXwDeX commented on Jan 14, 2026

    @LeXwDeX
    Author

    You're using two experimental features: unified_exec and shell_snapshot. If you disable these, does the problem go away?

    I’ve been using it continuously for three hours, and so far I haven’t seen that error anymore.

  7. jif-oai commented on Jan 14, 2026

    @jif-oai
    Contributor

    Could you /feedback on the session and send us the session ID please?

  8. LeXwDeX commented on Jan 15, 2026

    @LeXwDeX
    Author

    Could you /feedback on the session and send us the session ID please?

    I’m sorry—I can’t find the specific conversation from when the bug occurred. But I can enable those two experimental parameters and keep using it; if I run into the bug again, I’ll report it to you.

  9. etraut-openai commented on Jan 17, 2026

    @etraut-openai
    Contributor

    I think we understand this issue and have a proposed fix under review. Tracking in #9360, so I'm going to close this as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIazureIssues related to the Azure-hosted OpenAI modelsbugSomething isn't workingcode-reviewIssues relating to code reviews performed by codex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions