Attachment size limit displayed to user does not match the limit imposed in the Vaultwarden admin panel #1063

Closed
opened 2026-02-04 23:46:45 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ghost on GitHub (Jul 2, 2021).

1

This upload will fail and will return the shown error due to the size restriction set by the admin using the admin panel. It is set to 50MB in this example.

Originally created by @ghost on GitHub (Jul 2, 2021). ![1](https://user-images.githubusercontent.com/76442625/124281771-fa157700-db41-11eb-81e9-13660c8ed0c7.png) This upload will fail and will return the shown error due to the size restriction set by the admin using the admin panel. It is set to 50MB in this example.
OVERLORD added the enhancementlow priority labels 2026-02-04 23:46:45 +03:00
Author
Owner

@BlackDex commented on GitHub (Jul 2, 2021):

Those are hard-coded limits in the web-vault, and not something we can change on-the-fly, per server.
What we can do is change the error message to indicate what the limit is so that it will be more clear.

@BlackDex commented on GitHub (Jul 2, 2021): Those are hard-coded limits in the web-vault, and not something we can change on-the-fly, per server. What we can do is change the error message to indicate what the limit is so that it will be more clear.
Author
Owner

@BlackDex commented on GitHub (Jul 5, 2021):

I have checked the code a bit better, and the size limit you can configure isn't per attachment, but as a total amount of storage. The wording is a bit off, so i think we should change that.

@BlackDex commented on GitHub (Jul 5, 2021): I have checked the code a bit better, and the size limit you can configure isn't per attachment, but as a total amount of storage. The wording is a bit off, so i think we should change that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1063