mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #22753] issue: 404 Error When Sending or Replying to Messages in Any Channel Type #19811
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @silentoplayz on GitHub (Mar 17, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22753
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.10
Ollama Version (if applicable)
v0.18.0
Operating System
Ubuntu 24.04.4 LTS
Browser (if applicable)
Mozilla Firefox Snap for Ubuntu v148.0.2 (64-bit) / Google Chrome v146.0.7680.80 (Official Build) (64-bit)
Confirmation
README.md.Expected Behavior
Sending a message or replying to a message in any channel (Public, Private, Group, or DM) should complete without any console errors. No extraneous API calls should be made for endpoints that do not exist.
Actual Behavior
Every time a message is sent or replies to a message are rendered in any channel type, the frontend immediately fires a
GETrequest to:The backend responds with
404 Not Found, followed by an unhandled promise rejection inMessage.svelte.Steps to Reproduce
Steps to Reproduce
v0.8.10version on Ubuntu 24.04.4 LTS using Firefox v148.0.2.Result: A
404 Not Founderror appears forGET /api/v1/channels/{channel_id}/messages/{message_id}/data, followed by:This also reproduces when replying to an existing channel message.
Logs & Screenshots
Browser Console Error (Network)
Browser Console Exception (JavaScript)
Additional Information
The root cause appears to be in
src/lib/components/channel/Messages/Message.svelte. TheloadMessageData()function is called inonMountwhenevermessage?.datais truthy, callinggetMessageData()fromsrc/lib/apis/channels/index.ts:This hits
GET /channels/{channel_id}/messages/{message_id}/data, which does not appear to be a registered route on the backend. Since every channel message appears to have adatafield (even if empty), this 404 fires on every single message render.The bug is reproducible on the
devbranch with a standard local development setup. It affects all channel types (Public, Private, Group, DM) without exception.