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
Endless loop: The image date you provided does not represent a valid image #3097
I am working with a bit of csv data, python to analyse and a react visualisation of this data, at some point codex says:
I’ll render an SVG preview so you can see it here, and share how to open the HTML locally.
_
✓ ⌨️ python3 trend_viz/scripts/render_svg.py
then it goes into an endless loop of
⚠ stream error: unexpected status 400 Bad Request: {
"error": {
"message": "The image data you provided does not represent a valid image. Please check your input and try again with one of the supported image formats: ['image/jpeg', 'image/png', 'image/gif',
'image/webp'].",
"type": "invalid_request_error",
"param": "input",
"code": "invalid_value"
}
}; retrying 1/5 in 204ms…
it does not matter what I say after that, it always repeats with the same error, even if no image is involved in the following message
same problem : stream error: unexpected status 400 Bad Request: { "error": { "message": "The image data you provided does not represent a valid image. Please check your input and try again with one of the supported image formats: ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].", "type": "invalid_request_error", "param": "input", "code": "invalid_value" } }; retrying 3/5 in 750ms…
unexpected status 400 Bad Request: {
"error": {
"message": "The image data you provided does not represent a valid image..."
"param": "input",
"code": "invalid_value"
}
}
Activity
Kivu011 commentedon Sep 19, 2025
Same problem here. I also uploaded SVG and broke it... And now it just runs into endless loop.... I can't stop it no matter what I try...
alexzanco commentedon Sep 26, 2025
Same problem. No matter what prompt keeps throwing error
AndriiUkraine commentedon Sep 27, 2025
same problem :
stream error: unexpected status 400 Bad Request: { "error": { "message": "The image data you provided does not represent a valid image. Please check your input and try again with one of the supported image formats: ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].", "type": "invalid_request_error", "param": "input", "code": "invalid_value" } }; retrying 3/5 in 750ms…kevinchwong commentedon Oct 6, 2025
Dont see this issue, when working the codebase with claude code.
nguyenbs commentedon Oct 16, 2025
Same problem here. An endless loop of errors
Dalanir commentedon Oct 20, 2025
Same here!
etraut-openai commentedon Oct 29, 2025
Thanks for reporting the problem. This appears to be the same issue as #3050. I'm going to close this one to reduce duplication.
Than-yel commentedon Nov 15, 2025
unexpected status 400 Bad Request: {
"error": {
"message": "The image data you provided does not represent a valid image..."
"param": "input",
"code": "invalid_value"
}
}
Exactly the same problem i have with codex
carloscerlira commentedon Sep 9, 2026
not same