anomalyco / anomalyco/opencode

[Bug] Bedrock: Certain tool call results cause "Unsupported file type: 'data'" error with GPT 5.6 Sol

Open
#46,004 1 comment 2 reactions 1 assignee View on GitHub

@nexxeln is already working on this.

Since Aug 28, 2026.

needs:compliance
Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Have recently been getting the following issue quite frequently:

Opencode failed to send message with error: Unsupported file type: 'data'. Supported: PDF, DOCX, XLSX, CSV, TXT, MD, HTML, and video (.mp4, .webm, .mov, .avi, .mkv).

I've never had this issue before, and now it's coming with even the most basic tool calls such as "Find Files".

This is severely impacting my productivity.

Plugins

No response

OpenCode version

1.18.23

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.