mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
Cannot upload attachments using the Bitwarden CLI #958
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aligator on GitHub.
Cannot upload attachments using the Bitwarden CLI
When it uploads attachments using the Bitwarden CLI, I always get:
bw create attachment --file "/tmp/lol.txt" --itemid ddfd114b-ca18-45bc-b8e4-42da43a71bdeand on the Vaultwarden server-side I get:
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: ADMIN_TOKEN
Install method: Docker
Clients used: Bitwarden-CLI
Steps to reproduce
Nothing special, just use the bw cli comand from above
@BlackDex commented on GitHub:
Works fine for me.
Check your reverse proxy config if it isn't using some security extensions or settings like ModSecurity or whatever.
Also check the max body size which is allowed, those could cause issues.
I just tested it using:
And that works ok for me.