You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EmbeddedChat uses the rooms.upload/:rid endpoint for file uploads, which was deprecated in RC 6.10 and removed in RC 8.0. This means file uploads are completely broken for anyone running Rocket.Chat 8.x.
Steps to reproduce:
Connect EmbeddedChat to a Rocket.Chat 8.x server
Try to upload a file/image in chat
Upload fails silently or returns 404
Expected behavior:
File upload should work using the new rooms.media/:rid endpoint (two-step upload + confirm flow).
This looks like it has already been fixed and can probably be closed.
rooms.upload is no longer referenced anywhere in the codebase. sendAttachment() in packages/api/src/EmbeddedChatApi.ts now uses exactly the two-step flow this issue asks for:
Fixed by 46546f3 ("fix: update file upload to use RC 8.x rooms.media API"), merged via #1070 on 2026-03-21. Verified present on current develop (8c542970), and git branch -r --contains 46546f3c confirms it is on develop.
Flagging rather than closing since I'm not a maintainer — happy to be corrected if some upload path still uses the old endpoint.
While I was looking at the API layer I also picked up #1158 — your earlier #1171 had the right root cause, so #1394 builds on it, with the teardown moved into a finally block so the socket is also closed when the logout request itself fails. Credited you in the PR.
No rush at all, but if you get a chance: the CI runs on #1387, #1391 and #1394 are all sitting at action_required (first-time contributor), so there's no green check to review against yet. One approval would unblock all three.
Activity
rohanesor commentedon Oct 19, 2026
This looks like it has already been fixed and can probably be closed.
rooms.uploadis no longer referenced anywhere in the codebase.sendAttachment()inpackages/api/src/EmbeddedChatApi.tsnow uses exactly the two-step flow this issue asks for:Fixed by 46546f3 ("fix: update file upload to use RC 8.x rooms.media API"), merged via #1070 on 2026-03-21. Verified present on current
develop(8c542970), andgit branch -r --contains 46546f3cconfirms it is ondevelop.Flagging rather than closing since I'm not a maintainer — happy to be corrected if some upload path still uses the old endpoint.
Aryan-Verma-999 commentedon Oct 19, 2026
Thanks for the reminder :)
rohanesor commentedon Oct 20, 2026
No problem, happy to help keep the tracker tidy.
While I was looking at the API layer I also picked up #1158 — your earlier #1171 had the right root cause, so #1394 builds on it, with the teardown moved into a
finallyblock so the socket is also closed when the logout request itself fails. Credited you in the PR.No rush at all, but if you get a chance: the CI runs on #1387, #1391 and #1394 are all sitting at
action_required(first-time contributor), so there's no green check to review against yet. One approval would unblock all three.