Description
I have Opencode running on my server. After connecting via SSH, I’m able to paste an image, but when I try to send it in the conversation, I get the following 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'].”
Plugins
Oh-my-openagent
OpenCode version
1.3.2
Steps to reproduce
- log in server via ssh
- run opencode
- paste an image and send to conversation
- get the error
- image can be sent on my local machine, everything is fine.
Screenshot and/or share link
Operating System
macOS 26, Ubuntu 24.04
Terminal
Ghostty
Description
I have Opencode running on my server. After connecting via SSH, I’m able to paste an image, but when I try to send it in the conversation, I get the following 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'].”
Plugins
Oh-my-openagent
OpenCode version
1.3.2
Steps to reproduce
Screenshot and/or share link
Operating System
macOS 26, Ubuntu 24.04
Terminal
Ghostty