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
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Confirm this is a duplicate. Closing.