mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #178] Organization import from official server broken #87
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @oversearch on GitHub (Sep 13, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/178
Hi there! Let me start by saying that I really love this implementation of the Bitwarden server. The speed is fantastic, but what really sold me is how much simpler the implementation is to get running and maintain. I'm excited to fully transition from the official server code. Unfortunately, I hit a snag when moving my data out of my old vault on the official server.
I have a family organization with a few users, so I separately exported each user and the organization. When I attempted to import the organization content into bitwarden_rs, I got the "unexpected error has occurred" message, which Firefox's debugger showed to be a 400 Bad Request. Looking at the service output, I get the following:
The file appears to be correctly formatted as far as I can tell. I attempted to tweak it in various ways, cut it down to individual entries, etc - but I could not get it to import. Any idea why this might be happening? I'm running the server on Arch Linux via the AUR package (both the core and the vault), and it appears to be otherwise fully functional.
Thank you!
@dani-garcia commented on GitHub (Sep 13, 2018):
At the moment, the import to an organization is not yet implemented, the error message is a bit strange because it's matching the wrong route:
/api/ciphers/import-organization?organizationId=<org_id>is matching:
/api/ciphers/<uuid>@dani-garcia commented on GitHub (Sep 13, 2018):
It should be fixed now in the latest master.
@oversearch commented on GitHub (Sep 14, 2018):
Thanks so much for getting back quickly! The fact that it wasn't implemented certainly explains why I couldn't figure out where the import code was... I thought it was just me hazing zero Rust experience. I took a look at the commit and it all makes much more sense now (and wow your turn-around time is impressive...).
Thanks again!