stream disconnected before completion: failed to parse ErrorResponse: invalid type: null, expected struct Error

Resolved 💬 2 comments Opened Nov 16, 2025 by datacatalyst-io Closed Nov 17, 2025

What version of Codex is running?

v0.58.0

What subscription do you have?

Azure Subscription

Which model were you using?

gpt-5.1-codex and gpt-5-codex

What platform is your computer?

_No response_

What issue are you seeing?

Since 11/15 repeated "stream disconnected before completion: failed to parse ErrorResponse: invalid type: null, expected struct Error" errors with both GPT 5 and 5.1. Seemed to start at time of 5.1 rollout. Codex with o3 is unaffected.

What steps can reproduce the bug?

Uploaded thread: 019a8beb-ca38-7e33-bf88-bf3879ae83f5

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 ↗