error: type 'reasoning' was provided without its required following item

Open 💬 4 comments Opened Mar 14, 2026 by dzianisv
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.114.0

What subscription do you have?

azure openai resource

Which model were you using?

gpt-5.3-codex xhigh

What platform is your computer?

macOS, m1, Darwin 24.5.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

<img width="1472" height="972" alt="Image" src="https://github.com/user-attachments/assets/8a2c5e3e-c820-4451-a46d-466c0ae5c862" />

{
  "error": {
    "message": "Item 'rs_074f680bc3b2ffad0069b582dd4bcc8190a1723e3e499e5fa7' of type 'reasoning' was provided without its required following item.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}

What steps can reproduce the bug?

I have no idea, but hapens a few times per day with different session and there is no way to resume it.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #13569

Powered by Codex Action

etraut-openai contributor · 5 months ago

I see you're using an Azure-hosted model. Have you reported this to the Azure team? If you haven't, please do so. Otherwise they won't know about this problem.

salahmak · 5 months ago

I'm also getting this similar error with Azure hosted gpt-5.3-codex (medium)

{
  "error": {
    "message": "Item 'fc_0e1cf1136....' of type 'function_call' was provided without its required 'reasoning' item:
'rs_0e1cf1136....'.",
    "type": "invalid_request_error",
    "param": "input",
    "code": null
  }
}
etraut-openai contributor · 5 months ago

@salahmak, please report to the Azure folks if you haven't already done so.