Messages sent from Matrix gets delivered to Discord as JSONs with error

Author: WohlstandCreated Jan 1, 2025Updated Feb 28, 2026
Labelsbug

Describe the bug Several times, attempts of Matrix users to send images, on Discord side, images feels corruted, but when downloading that, I see it's a JSON with the next content:

{"errcode":"M_NOT_FOUND","error":"Not found"}

To Reproduce Just send at the Matrix side any pictures. And then see how they shown at Discord.

Expected behavior Images successfully delivered to Discord side and shown. If not as a native attachment, then just a link to local bridge's media storage (depending on config).

Screenshots/debug logs изображение

Environment (please complete the following information):

  • OS: RockyLinux 8
  • Matterbridge version: 1.26.1-dev
  • If self compiled: Re-ran the go build of latest state at the moment of issue creation c4157a4, problem is still here.

Additional context matterbridge.toml.zip