add emoji failure #509

Open
opened 2026-02-16 12:35:46 -05:00 by yindo · 2 comments
Owner

Originally created by @bri-rose on GitHub (Feb 13, 2026).

What happened?

i have successfully added multiple emojis. one however is failing with the following error: Something went wrong! {"type":"NotFound","location":"crates/core/database/src/models/files/ops/mongodb.rs:100:24"}

i have tried multiple names, all following conventions which have worked for other images

Image

i have attached the file that is failing.

Originally created by @bri-rose on GitHub (Feb 13, 2026). ### What happened? i have successfully added multiple emojis. one however is failing with the following error: Something went wrong! {"type":"NotFound","location":"crates/core/database/src/models/files/ops/mongodb.rs:100:24"} i have tried multiple names, all following conventions which have worked for other images <img width="1280" height="852" alt="Image" src="https://github.com/user-attachments/assets/d46f422a-e409-4a05-a5a5-f5ff4ba2cfbe" /> i have attached the file that is failing.
Author
Owner

@alice-werefox commented on GitHub (Feb 14, 2026):

Custom emoji have a file size and image resolution limit.

/// Upload a file
///
/// Available tags and restrictions:
///
/// | Tag | Size | Resolution | Type |
/// | :-: | --: | :-- | :-: |
/// | attachments | 20 MB | - | Any |
/// | avatars | 4 MB | 40 MP or 10,000px | Image |
/// | backgrounds | 6 MB | 40 MP or 10,000px | Image |
/// | icons | 2.5 MB | 40 MP or 10,000px | Image |
/// | banners | 6 MB | 40 MP or 10,000px | Image |
/// | emojis | 500 KB | 40 MP or 10,000px | Image |

https://github.com/stoatchat/stoatchat/blob/74f0c537e6689bcdb642f78c484a98b9b22f9ec7/crates/services/autumn/src/api.rs#L157C16-L157C42

Can you attempt it again with a lower resolution version of the image?

@alice-werefox commented on GitHub (Feb 14, 2026): Custom emoji have a file size and image resolution limit. > /// Upload a file /// /// Available tags and restrictions: /// /// | Tag | Size | Resolution | Type | /// | :-: | --: | :-- | :-: | /// | attachments | 20 MB | - | Any | /// | avatars | 4 MB | 40 MP or 10,000px | Image | /// | backgrounds | 6 MB | 40 MP or 10,000px | Image | /// | icons | 2.5 MB | 40 MP or 10,000px | Image | /// | banners | 6 MB | 40 MP or 10,000px | Image | /// | emojis | 500 KB | 40 MP or 10,000px | Image | https://github.com/stoatchat/stoatchat/blob/74f0c537e6689bcdb642f78c484a98b9b22f9ec7/crates/services/autumn/src/api.rs#L157C16-L157C42 Can you attempt it again with a lower resolution version of the image?
Author
Owner

@bri-rose commented on GitHub (Feb 14, 2026):

success, thanks!

@bri-rose commented on GitHub (Feb 14, 2026): success, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/for-web#509