Once I get an error I can't move on #3135

Open
opened 2026-02-16 17:38:47 -05:00 by yindo · 4 comments
Owner

Originally created by @sai-sy on GitHub (Nov 26, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

I asked the model to get some images and perform some actions, it didn't properly get some images so I got this error:

image formats: ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].```

That's fine I replaced the files in the directory with correct working image. But I can't move past the error:

```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'].

finish task 3 in l9.md and send it to the server
sai (08:01 AM)

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'].

okay don't use any image
sai (08:01 AM)

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'].

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @sai-sy on GitHub (Nov 26, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description I asked the model to get some images and perform some actions, it didn't properly get some images so I got this error: ```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'].``` That's fine I replaced the files in the directory with correct working image. But I can't move past the error: ```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']. finish task 3 in l9.md and send it to the server sai (08:01 AM) 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']. okay don't use any image sai (08:01 AM) 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']. ``` ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:38:47 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 26, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4052: SVG File Paths Rejected - Similar image format validation error preventing task progression
  • #3816: Clipboard image paste fails with AI_DownloadError - Related issue with invalid image data handling

Feel free to ignore if your specific case involves different circumstances.

@github-actions[bot] commented on GitHub (Nov 26, 2025): This issue might be a duplicate of existing issues. Please check: - #4052: SVG File Paths Rejected - Similar image format validation error preventing task progression - #3816: Clipboard image paste fails with AI_DownloadError - Related issue with invalid image data handling Feel free to ignore if your specific case involves different circumstances.
Author
Owner

@rekram1-node commented on GitHub (Nov 26, 2025):

Yeah ill fix this

@rekram1-node commented on GitHub (Nov 26, 2025): Yeah ill fix this
Author
Owner

@luisrudge commented on GitHub (Jan 7, 2026):

having the same issue when OC tries to read a big image

Image Image
@luisrudge commented on GitHub (Jan 7, 2026): having the same issue when OC tries to read a big image <img width="2558" height="516" alt="Image" src="https://github.com/user-attachments/assets/47129ab5-6746-446a-becc-5fa944b896b9" /> <img width="1760" height="758" alt="Image" src="https://github.com/user-attachments/assets/e67c8e3a-a049-4730-876f-4d53202b2bb4" />
Author
Owner

@vaisov commented on GitHub (Jan 26, 2026):

It happens to me even without any image provided, no idea where it gets this from.

Image
@vaisov commented on GitHub (Jan 26, 2026): It happens to me even without any image provided, no idea where it gets this from. <img width="3010" height="1456" alt="Image" src="https://github.com/user-attachments/assets/b0061296-081a-4de9-8a7f-d21e0f55208e" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3135