codex - 💡(How to fix) Fix Bug: Unsupported file upload leaves Codex conversation unable to continue [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#23558Fetched 2026-05-20 03:48:17
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

Codex should reject unsupported files before they are added to the conversation, show a clear error, and keep the conversation usable.

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Codex CLI version from session log: 0.131.0-alpha.9

What subscription do you have?

PRO

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

After uploading an unsupported file into a Codex Desktop conversation, the thread stopped responding.

The conversation accepted the next user message, but the assistant produced no visible response. The session log shows the uploaded attachment was serialized as an empty image payload:

{ "type": "input_image", "image_url": "data:image/png;base64,", "detail": "high" }

After that, Codex marked the task as complete with no last_agent_message:

{ "type": "task_complete", "last_agent_message": null } Sending a later text-only message in the same conversation also completed immediately with no assistant response. At that point I could not continue using the conversation.

Feedback ID / session ID:

019e41bf-c551-7d81-ad2d-f6e216dbb4ce

What steps can reproduce the bug?

  1. Open an existing Codex Desktop conversation.
  2. Upload or paste an unsupported file into the conversation.
  3. Send a prompt that references the uploaded file.
  4. Observe that the request is accepted, but no assistant response appears.
  5. Send another text-only prompt in the same conversation.
  6. Observe that Codex still completes the turn without producing an assistant response.

What is the expected behavior?

Codex should reject unsupported files before they are added to the conversation, show a clear error, and keep the conversation usable.

Additional information

The unsupported file appears to be added as an invalid/empty attachment payload. After that, turns complete with no assistant response, and the conversation cannot continue. The failure happened on May 19, 2026 in Codex Desktop. The affected conversation was working before the unsupported file upload.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Bug: Unsupported file upload leaves Codex conversation unable to continue [1 comments, 2 participants]