You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: codex reads an image, crashes and session cannot be recovered #5346
Codex suddenly started to view the image and crashed the session, even I did not say anything about or related to the image.
• Ran python - << 'PY'
│ import pathlib
│ p = pathlib.Path('app')
• Explored
└ Search \[id\]\.tsx in app
• Viewed Image
└ app/(modals)/intro/[id].tsx
■ unexpected status 400 Bad Request: {
"error": {
"message": "Invalid 'input[37].content[0].image_url'. Expected a base64-encoded data URL with an image MIME type (e.g. 'data:image/png;base64,aW1nIGJ5dGVzIGhlcmU='), but got unsupported MIME type 'image'.",
"type": "invalid_request_error",
}
}
And this issue cannot be recover even I try to skip this step
› skip this step
■ unexpected status 400 Bad Request: {
"error": {
"message": "Invalid 'input[37].content[0].image_url'. Expected a base64-encoded data URL with an image MIME type (e.g. 'data:image/png;base64,aW1nIGJ5dGVzIGhlcmU='), but got unsupported MIME type 'image'.",
"type": "invalid_request_error",
"param": "input[37].content[0].image_url",
"code": "invalid_value"
}
}
What steps can reproduce the bug?
N/A
What is the expected behavior?
No response
Additional information
No response
Reacted by Tim Anthony Alexander, Cullen and Wenzhi Liang
changed the title [-]Unexpected behaviour of codex for viewing image[/-][+]bug: codex reads an image, crashes and session cannot be recovered[/+]on Oct 19, 2025
Activity
github-actions commentedon Oct 19, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
[-]Unexpected behaviour of codex for viewing image[/-][+]bug: codex reads an image, crashes and session cannot be recovered[/+]TimAnthonyAlexander commentedon Oct 21, 2025
Had this error in the Codex Extension for VSCode.
wzhliang commentedon Nov 20, 2025
I am seeing same error with
gpt-5.1-codexhigh.v0.60.1shankarkuru commentedon May 18, 2026
open a new chat and get the session ID and deeplink from the other chat and ask to fix the image.