Problem importing data from KeePass XML

Hello, I am a Bitwarden noob. Checking Bitwarden from transition from KeePass perspective.

I can’t import data from KeePass, the error I get is on the screenshot. The error message says ‘The field Notes exceeds the maximum encrypted value length of 10000 characters’. I sorted all records in Keepass database by notes and went one by one through each containing notes and wherever a note seemed to be long I copied the text and measured the number of characters in Notepad++. Not a single note was longer than 1132 characters. Anyway, I removed those notes as well but still my import fails.

What can be the cause for this import failures? Can any of the plugins used in KeePass have impact on the data structures and sizes which Bitwarden factors into the upload job?

Thanks

Hello @Ascar,
my guess is that you are importing in wrong format and that could be the reason Bitwarden is importing it as one big note.

Could you check if your Keepass is exporting in CSV format (like KeepassX and KeepassXC). If so on import select KeePassX (csv) and everything should be fine.

Hope this helps :slight_smile:

2 Likes

Hi @Pulsar

I followed Bitwarden’s guide that says - if you are on KeePass 2.x then export data in XML format. I did not try exporting data in the ‘downgraded’ format i.e. ver 1.x with CSV output. I will try this now and see how it goes.

Thanks for the hint

Exporting data in KeePass 1.x CSV format bore no fruit. However I have been able to upload data by using Bitwarden CSV template and manipulating data in Excel.

1 Like

I also had problems importing my data from 1Password and had to manipulate some data to be able to import it into Bitwarden. So I wrote this topic: My improvement for importing data from "1Password"

May be you have the time to tell other KeePass users what to change to be able to import data into Bitwarden? :wink:

Oh, well. Easy. Link to the template is in my original post. Download the file. Export data from KeePass in CSV format. Match the column headings in the Bitwarden file with the relevant content from KeePass. Keep what you want, delete what you don’t. My data was quite dirty because I came to KeePass from Roboform and they make parting them very difficult, so when you manage to import Roboform data into KeePass from HTML file it may be messy. So, once you are done with copying/pasting columns with data to the right headings - save the file again in CSV and go to Bitwarden account. Now upload will be a breeze.

I am new to Bitwarden and I am very impressed with what it can do. What I believe it can’t:

  1. Copy/Move multiple entries into folders. I have not figured out how to multi-select severa login cards (e.g. mail accounts) and move them all in one shot to the Mail Accounts folder. At the moment I have to edit each entry and change its folder to the desired one.

  2. Biwarden can check if passwords have been compromised. This is great. I wish it also could help me find duplicate records where the username/password and the URI are identical. I think it does not do this yet?

Disregarding the things above Bitwarden is hell of a password manager!

1 Like

With regard to 1. you can do this in vault.bitwarden.com which is where you can do most of the interesting things.

Select the records you want to move using checkboxes then, from the gearwheel icon beside + Add item, you can drop down a box and one of the options there is Move selected. It took me a while to find this :smiley: I blame the fashion to “improve” things by scattering items all over the place :frowning_face:

I’ll pass on 2. at the moment.

1 Like

Ah, well, this is where the value of talking kicks in. I am glad I replied to your previous message because your tip is going to save me a lot of time :+1:

1 Like