Bug: User Profile Photo unable to save #528

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

Originally created by @bkweber99 on GitHub (Feb 14, 2026).

Overview

When attempting to save a photo for user profile, photo reverts to default.

Steps to reproduce

  • Navigate to User Settings --> Profile --> User Photo
  • Upload Photo

Actual Behavior

  • Photo reverts to default

Expected Behavior

  • Photo is saved

Image

Originally created by @bkweber99 on GitHub (Feb 14, 2026). # Overview When attempting to save a photo for user profile, photo reverts to default. ## Steps to reproduce - Navigate to User Settings --> Profile --> User Photo - Upload Photo ## Actual Behavior - Photo reverts to default ## Expected Behavior - Photo is saved ![Image](https://github.com/user-attachments/assets/0e59a3d7-c10e-4d49-975c-90a9afcbd633)
Author
Owner

@chrishultin commented on GitHub (Feb 14, 2026):

Can you provide some additional details on the file you're trying to use for your new profile picture? What file type, size, and dimensions?

@chrishultin commented on GitHub (Feb 14, 2026): Can you provide some additional details on the file you're trying to use for your new profile picture? What file type, size, and dimensions?
Author
Owner

@bkweber99 commented on GitHub (Feb 14, 2026):

Can you provide some additional details on the file you're trying to use for your new profile picture? What file type, size, and dimensions?

My fault, should've uploaded the file. I tried a couple of differnet ones, just JPGs 1920x1080.

Image

@bkweber99 commented on GitHub (Feb 14, 2026): > Can you provide some additional details on the file you're trying to use for your new profile picture? What file type, size, and dimensions? My fault, should've uploaded the file. I tried a couple of differnet ones, just JPGs 1920x1080. [](url) ![Image](https://github.com/user-attachments/assets/5fb17440-e9a0-4a99-b065-b58d689e2f9b)
Author
Owner

@chrishultin commented on GitHub (Feb 14, 2026):

It seems like the maximum file size is 4MB, and the client doesn't properly display an error if the image is larger than that.

@chrishultin commented on GitHub (Feb 14, 2026): It seems like the maximum file size is 4MB, and the client doesn't properly display an error if the image is larger than that.
Author
Owner

@chrishultin commented on GitHub (Feb 14, 2026):

API responds with:
{ "type": "FileTooLarge", "max": 4000000, "location": "crates/services/autumn/src/api.rs:208:20" }

@chrishultin commented on GitHub (Feb 14, 2026): API responds with: `{ "type": "FileTooLarge", "max": 4000000, "location": "crates/services/autumn/src/api.rs:208:20" }`
Author
Owner

@bkweber99 commented on GitHub (Feb 14, 2026):

API responds with: { "type": "FileTooLarge", "max": 4000000, "location": "crates/services/autumn/src/api.rs:208:20" }

File size is 397KB. I was able to upload as a server profile pic, but not user.

Image
@bkweber99 commented on GitHub (Feb 14, 2026): > API responds with: `{ "type": "FileTooLarge", "max": 4000000, "location": "crates/services/autumn/src/api.rs:208:20" }` File size is 397KB. I was able to upload as a server profile pic, but not user. <img width="688" height="394" alt="Image" src="https://github.com/user-attachments/assets/d1a396be-8a64-4410-a1fa-21cac8e97c5b" />
Author
Owner

@chrishultin commented on GitHub (Feb 14, 2026):

If you look, though, your pic is 406,984 bytes - the limit is 400,000 bytes

@chrishultin commented on GitHub (Feb 14, 2026): If you look, though, your pic is 406,984 bytes - the limit is 400,000 bytes
Author
Owner

@bkweber99 commented on GitHub (Feb 14, 2026):

If you look, though, your pic is 406,984 bytes - the limit is 400,000 bytes

So the max size would be 0.4MB then, not 4MB? Per the API response limit is 4MB - 4,000,000

Same issue with this file as well, which is only 14,712 bytes

Image

@bkweber99 commented on GitHub (Feb 14, 2026): > If you look, though, your pic is 406,984 bytes - the limit is 400,000 bytes So the max size would be 0.4MB then, not 4MB? Per the API response limit is 4MB - 4,000,000 Same issue with this file as well, which is only 14,712 bytes ![Image](https://github.com/user-attachments/assets/3bf0fd78-5773-4c0e-9820-cf7d8f307d5a)
Author
Owner

@HugoTNMilan commented on GitHub (Feb 14, 2026):

Hi, I tried with a ~180Kb png file (184, 320 bytes), and have the same issue.

@HugoTNMilan commented on GitHub (Feb 14, 2026): Hi, I tried with a ~180Kb png file (184, 320 bytes), and have the same issue.
Author
Owner

@chrishultin commented on GitHub (Feb 14, 2026):

Crud, you're right - I misread the number, it's 4,000k - gotta be something else going on

@chrishultin commented on GitHub (Feb 14, 2026): Crud, you're right - I misread the number, it's 4,000k - gotta be something else going on
Author
Owner

@World170 commented on GitHub (Feb 14, 2026):

Try to set it on old.stoat.chat or the old revolt client (https://app.revolt.chat/).

@World170 commented on GitHub (Feb 14, 2026): Try to set it on` old.stoat.chat` or the old revolt client (https://app.revolt.chat/).
Author
Owner

@bkweber99 commented on GitHub (Feb 14, 2026):

old.stoat.chat

Looks like it requires a restart to show. Web app showed, and when I restarted the Desktop app it shows correctly.

Image

Restarting the Desktop app shows the correct Profile picture.

@bkweber99 commented on GitHub (Feb 14, 2026): > old.stoat.chat Looks like it requires a restart to show. Web app showed, and when I restarted the Desktop app it shows correctly. <img width="502" height="361" alt="Image" src="https://github.com/user-attachments/assets/e6f308ba-0397-4ab5-ae22-e16617d9031b" /> Restarting the Desktop app shows the correct Profile picture.
Author
Owner

@World170 commented on GitHub (Feb 14, 2026):

Oh well, atleast it sorta works. I've seen other users report this same exact issue (on servers inside of Stoat) so its pretty common, i hope they fix it soon with the new architecture / hotfix they have planned.

@World170 commented on GitHub (Feb 14, 2026): Oh well, atleast it sorta works. I've seen other users report this same exact issue (on servers inside of Stoat) so its pretty common, i hope they fix it soon with the new architecture / hotfix they have planned.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/for-web#528