Summary
When I try to upload certain SVG files as an attachment in a message, it fails to send the message. Some SVG files can be successfully sent, but some are blocked from being sent. Seems like there is something on the server is trying to parse SVGs and failing to do so prevents the file from being sent. Not sure what is wrong with the SVGs I am sending as they are not corrupt and can be opened in vector design software.Steps to reproduce
- Open a chat window
- Add an SVG file as an attachment to send.
- Send the message.
Environment (optional)
stable build 84 (356bd53), 2026-03-06 03:57:38 UTC, Electron 39.2.7, Windows 11 10.0.26200 (x64), desktop stable 0.0.8Logs or screenshots (optional)
Logger.tsx:131 [18:54:08] [MessageQueue] [Error] Failed to send message to channel 1476077648922710175: HTTPResponseError: POST /channels/xxx/messages [500]
at Object.<anonymous> (HttpClient.tsx:625:11)
at Generator.next (<anonymous>)
at u (8e040a12a14d7e02.js:104:46183)
at s (8e040a12a14d7e02.js:104:46380)
log @ Logger.tsx:131
error @ Logger.tsx:109
(anonymous) @ MessageQueue.tsx:287
R @ 8e040a12a14d7e02.js:1
s @ 8e040a12a14d7e02.js:1
Promise.then
R @ 8e040a12a14d7e02.js:1
s @ 8e040a12a14d7e02.js:1
Promise.then
R @ 8e040a12a14d7e02.js:1
s @ 8e040a12a14d7e02.js:1
Promise.then
R @ 8e040a12a14d7e02.js:1
s @ 8e040a12a14d7e02.js:1
(anonymous) @ 8e040a12a14d7e02.js:1
(anonymous) @ 8e040a12a14d7e02.js:1
handleSend @ MessageQueue.tsx:295
drain @ MessageQueue.tsx:198
maybeProcessNext @ Queue.tsx:135
enqueue @ Queue.tsx:59
(anonymous) @ MessageActionCreators.tsx:313
ek @ MessageActionCreators.tsx:310
(anonymous) @ useMessageSubmission.tsx:118
(anonymous) @ ChannelTextarea.tsx:279
m @ useTextareaSubmit.tsx:356
ks @ 8e040a12a14d7e02.js:80
r @ 8e040a12a14d7e02.js:80
(anonymous) @ 8e040a12a14d7e02.js:80
(anonymous) @ 8e040a12a14d7e02.js:80
(anonymous) @ 8e040a12a14d7e02.js:80
(anonymous) @ ChannelTextarea.tsx:731
onKeyDown @ TextareaInputField.tsx:116
Comments
No comments yet.