[GH-ISSUE #1818] Attachment size limit displayed to user does not match the limit imposed in the Vaultwarden admin panel #1071

Closed
opened 2026-03-03 02:05:59 +03:00 by kerem · 2 comments
Owner

Originally created by @ghost on GitHub (Jul 2, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1818

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). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1818 ![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.
kerem 2026-03-03 02:05:59 +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.

<!-- gh-comment-id:873005109 --> @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.

<!-- gh-comment-id:874257281 --> @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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#1071
No description provided.