[GH-ISSUE #439] Unable to upload attachments #263

Closed
opened 2026-03-03 01:27:23 +03:00 by kerem · 5 comments
Owner

Originally created by @RihanArfan on GitHub (Mar 24, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/439

I'm having issues trying to upload attachments to an item.

When trying to get an attachment, I get the following error in my browser console.
POST https://*vault.example.com*/api/ciphers/*string*/attachment 413

Originally created by @RihanArfan on GitHub (Mar 24, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/439 I'm having issues trying to upload attachments to an item. When trying to get an attachment, I get the following error in my browser console. `POST https://*vault.example.com*/api/ciphers/*string*/attachment 413` ![](https://file.properties/host/raw/RizHPKXl.png)
kerem 2026-03-03 01:27:23 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@dani-garcia commented on GitHub (Mar 24, 2019):

Do you get any errors in the log? Is the server behind a proxy that could be modifying the requests in some way?

<!-- gh-comment-id:476014669 --> @dani-garcia commented on GitHub (Mar 24, 2019): Do you get any errors in the log? Is the server behind a proxy that could be modifying the requests in some way?
Author
Owner

@BlackDex commented on GitHub (Mar 25, 2019):

Also, please check if the proxy has some kind of upload limitation.
Nginx for instances has some lower values by default. I don't know if this is also the case with other proxy tools.

<!-- gh-comment-id:476137228 --> @BlackDex commented on GitHub (Mar 25, 2019): Also, please check if the proxy has some kind of upload limitation. Nginx for instances has some lower values by default. I don't know if this is also the case with other proxy tools.
Author
Owner

@RihanArfan commented on GitHub (Mar 28, 2019):

Bitwarden_rs is behind an Nginx reverse proxy and no error appears in the server log. I'll take a look at my Nginx configuration.

<!-- gh-comment-id:477706076 --> @RihanArfan commented on GitHub (Mar 28, 2019): Bitwarden_rs is behind an Nginx reverse proxy and no error appears in the server log. I'll take a look at my Nginx configuration.
Author
Owner

@mprasil commented on GitHub (Mar 28, 2019):

413is usually a response for too big requests. How big is the attachment you're trying to upload?

<!-- gh-comment-id:477811690 --> @mprasil commented on GitHub (Mar 28, 2019): `413`is usually a response for too big requests. How big is the attachment you're trying to upload?
Author
Owner

@RihanArfan commented on GitHub (Mar 28, 2019):

Was Nginx side. Just had to set the maximum upload side in my config. Thanks!

<!-- gh-comment-id:477812919 --> @RihanArfan commented on GitHub (Mar 28, 2019): Was Nginx side. Just had to set the maximum upload side in my config. Thanks!
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#263
No description provided.