Issue importing JSON to vaultwarden web #1739

Closed
opened 2026-02-05 01:37:09 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @obnoxiousmods on GitHub (Oct 27, 2023).

Imported .JSON file that was exported from my bitwarden for windows into vaultwarden web,

Expected Result: a successful import

WHAT ACTUALLY HAPPENS ERROR: e.match was null (or == null idr)

Must be a bug as I exported .csv from bitwarden for windows then imported and it worked fine.

Thanks <3(i just cloned the repos now so must be newest version)

Originally created by @obnoxiousmods on GitHub (Oct 27, 2023). Imported .JSON file that was exported from my bitwarden for windows into vaultwarden web, Expected Result: a successful import WHAT ACTUALLY HAPPENS ERROR: e.match was null (or == null idr) Must be a bug as I exported .csv from bitwarden for windows then imported and it worked fine. Thanks <3(i just cloned the repos now so must be newest version)
Author
Owner

@BlackDex commented on GitHub (Oct 27, 2023):

There is nothing done on the server side in regards of reading any import file from any type.
The conversion is done by the client which then reads, converts and encrypts the imported data and then sends that to the server.

So, if you think this is a server side issue, there must be something in the error logs of Vaultwarden, but i think this is probably a web-vault issue which is not something we develop.

@BlackDex commented on GitHub (Oct 27, 2023): There is nothing done on the server side in regards of reading any import file from any type. The conversion is done by the client which then reads, converts and encrypts the imported data and then sends that to the server. So, if you think this is a server side issue, there must be something in the error logs of Vaultwarden, but i think this is probably a web-vault issue which is not something we develop.
Author
Owner

@obnoxiousmods commented on GitHub (Oct 27, 2023):

There is nothing done on the server side in regards of reading any import file from any type. The conversion is done by the client which then reads, converts and encrypts the imported data and then sends that to the server.

So, if you think this is a server side issue, there must be something in the error logs of Vaultwarden, but i think this is probably a web-vault issue which is not something we develop.

I suppose I thought it would be related to the patchs applied to web-vault, as it seemed unlikely the official one has broken JSON importing, I suppose Ill open a ticket in web-vault's git and vaultwarden web vault patched repo

@obnoxiousmods commented on GitHub (Oct 27, 2023): > There is nothing done on the server side in regards of reading any import file from any type. The conversion is done by the client which then reads, converts and encrypts the imported data and then sends that to the server. > > So, if you think this is a server side issue, there must be something in the error logs of Vaultwarden, but i think this is probably a web-vault issue which is not something we develop. I suppose I thought it would be related to the patchs applied to web-vault, as it seemed unlikely the official one has broken JSON importing, I suppose Ill open a ticket in web-vault's git and vaultwarden web vault patched repo
Author
Owner

@BlackDex commented on GitHub (Oct 27, 2023):

Ok, but what do the logs say of Vaultwarden, there probably must have been an error there for this to cause such a message if it is coming from Vaultwarden.

@BlackDex commented on GitHub (Oct 27, 2023): Ok, but what do the logs say of Vaultwarden, there probably must have been an error there for this to cause such a message if it is coming from Vaultwarden.
Author
Owner

@dfunkt commented on GitHub (Oct 27, 2023):

This is what I get when I try to import my encrypted json (password protected) to an organization vault:
vaultwarden | [2023-10-27 12:19:37.398][vaultwarden::api::core::ciphers][ERROR] The client copy of this cipher is out of date. Resync the client and try again.
Dozens, if not hundreds, of messages like this ^^

@dfunkt commented on GitHub (Oct 27, 2023): This is what I get when I try to import my encrypted json (password protected) to an organization vault: `vaultwarden | [2023-10-27 12:19:37.398][vaultwarden::api::core::ciphers][ERROR] The client copy of this cipher is out of date. Resync the client and try again.` Dozens, if not hundreds, of messages like this ^^
Author
Owner

@BlackDex commented on GitHub (Oct 27, 2023):

Thx! We might be able to track down what the issue is now.

@BlackDex commented on GitHub (Oct 27, 2023): Thx! We might be able to track down what the issue is now.
Author
Owner

@dfunkt commented on GitHub (Nov 4, 2023):

Still having this issue when using the latest testing build (Version 1.29.2-93da5091, testing-alpine)

@dfunkt commented on GitHub (Nov 4, 2023): Still having this issue when using the latest testing build (Version 1.29.2-93da5091, testing-alpine)
Author
Owner

@BlackDex commented on GitHub (Nov 4, 2023):

That's because it isn't fixed yet. Only the new web-vault and passkeys are changed after your last try.

@BlackDex commented on GitHub (Nov 4, 2023): That's because it isn't fixed yet. Only the new web-vault and passkeys are changed after your last try.
Author
Owner

@dfunkt commented on GitHub (Nov 4, 2023):

Yeah, I only mentioned it because I thought that maybe the new web-vault would fix the issue.

@dfunkt commented on GitHub (Nov 4, 2023): Yeah, I only mentioned it because I thought that maybe the new web-vault would fix the issue.
Author
Owner

@BlackDex commented on GitHub (Nov 4, 2023):

That could have been the case, but I think it's more a server side item. I already checked it, have to work on a fix.

@BlackDex commented on GitHub (Nov 4, 2023): That could have been the case, but I think it's more a server side item. I already checked it, have to work on a fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1739