Vaultwarden wont import cvs file #1657

Closed
opened 2026-04-06 02:06:31 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @wioo on 4/6/2023

Subject of the issue

Vaultwarden wont import basic Bitwarden cvs file.

Deployment environment

  • Vaultwarden version: v1.28.1
  • Web-vault version: v2023.3.0b
  • OS/Arch: linux/x86_64
  • Running within Docker: true (Base: Debian)
  • Environment settings overridden: true
  • Uses a reverse proxy: true
  • IP Header check: false (X-Real-IP)
  • Internet access: true
  • Internet access via a proxy: false
  • DNS Check: true
  • Browser/Server Time Check: true
  • Server/NTP Time Check: true
  • Domain Configuration Check: true
  • HTTPS Check: true
  • Database type: SQLite
  • Database version: 3.39.2
  • Clients used: web browser
  • Reverse proxy and version: nginx proxy manager v2.10.2
  • Other relevant information: works with 1.27.0

Steps to reproduce

Didnt change anything. When vaulwarden was updated to 1.28.0 import stopped working.

Expected behaviour

Sucessfully Imported passwords.

Actual behaviour

Nothing happens when import button is clicked.

Troubleshooting data

Firefox console errors when I open vaultwarden login page
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”)
Source: HTMLElement.prototype.focus = ((realFocu….

TypeError: can't convert undefined to object

When try to import this error is presented
TypeError: can't convert undefined to object

TypeError: t is undefined consoleLog.service.ts:51:16
processFolder base-importer.ts:416
parse bitwarden-csv-importer.ts:48
parse bitwarden-csv-importer.ts:24
import import.service.ts:109
mt 297.eab0517393b948250535.js:1
t zone.js:1351
mt 297.eab0517393b948250535.js:1
import 297.eab0517393b948250535.js:1
submit import.component.ts:117
o 297.eab0517393b948250535.js:1
invoke zone.js:409
onInvoke ng_zone.ts:418
invoke zone.js:408
run zone.js:169
C zone.js:1326
invokeTask zone.js:443
onInvokeTask ng_zone.ts:403
invokeTask zone.js:442
runTask zone.js:214
b zone.js:632
promise callback*y zone.js:608
m zone.js:619
scheduleTask zone.js:433
onScheduleTask zone.js:320
scheduleTask zone.js:423
scheduleTask zone.js:257
scheduleMicroTask zone.js:277
C zone.js:1316
P zone.js:1253
O zone.js:1169
A zone.js:1185
onload import.component.ts:233
invoke zone.js:409
onInvoke ng_zone.ts:418
invoke zone.js:408
runGuarded zone.js:180
s zone.js:163
set zone.js:980
getFileContents import.component.ts:220
t zone.js:1351
getFileContents import.component.ts:217
submit import.component.ts:97
E 297.eab0517393b948250535.js:1
t zone.js:1351
E 297.eab0517393b948250535.js:1
submit 297.eab0517393b948250535.js:1
template import.component.html:7
jc listener.ts:225
r listener.ts:263
next Subscriber.ts:161
_next Subscriber.ts:119
next Subscriber.ts:75
next Subject.ts:68
r errorContext.ts:29
next Subject.ts:61
emit event_emitter.ts:114
onSubmit ng_form.ts:300
hostBindings ng_form.ts:136
jc listener.ts:225
r listener.ts:263
_ dom_renderer.ts:67
invokeTask zone.js:443
onInvokeTask ng_zone.ts:403
invokeTask zone.js:442
runTask zone.js:214

Same with qutebrowser on linux and firefox & chrome on windows.

*Originally created by @wioo on 4/6/2023* <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Subject of the issue Vaultwarden wont import basic Bitwarden cvs file. ### Deployment environment * Vaultwarden version: v1.28.1 * Web-vault version: v2023.3.0b * OS/Arch: linux/x86_64 * Running within Docker: true (Base: Debian) * Environment settings overridden: true * Uses a reverse proxy: true * IP Header check: false (X-Real-IP) * Internet access: true * Internet access via a proxy: false * DNS Check: true * Browser/Server Time Check: true * Server/NTP Time Check: true * Domain Configuration Check: true * HTTPS Check: true * Database type: SQLite * Database version: 3.39.2 * Clients used: web browser * Reverse proxy and version: nginx proxy manager v2.10.2 * Other relevant information: works with 1.27.0 ### Steps to reproduce Didnt change anything. When vaulwarden was updated to 1.28.0 import stopped working. ### Expected behaviour Sucessfully Imported passwords. ### Actual behaviour Nothing happens when import button is clicked. ### Troubleshooting data Firefox console errors when I open vaultwarden login page Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”) Source: HTMLElement.prototype.focus = ((realFocu…. TypeError: can't convert undefined to object When try to import this error is presented TypeError: can't convert undefined to object TypeError: t is undefined consoleLog.service.ts:51:16 processFolder base-importer.ts:416 parse bitwarden-csv-importer.ts:48 parse bitwarden-csv-importer.ts:24 import import.service.ts:109 mt 297.eab0517393b948250535.js:1 t zone.js:1351 mt 297.eab0517393b948250535.js:1 import 297.eab0517393b948250535.js:1 submit import.component.ts:117 o 297.eab0517393b948250535.js:1 invoke zone.js:409 onInvoke ng_zone.ts:418 invoke zone.js:408 run zone.js:169 C zone.js:1326 invokeTask zone.js:443 onInvokeTask ng_zone.ts:403 invokeTask zone.js:442 runTask zone.js:214 b zone.js:632 promise callback*y zone.js:608 m zone.js:619 scheduleTask zone.js:433 onScheduleTask zone.js:320 scheduleTask zone.js:423 scheduleTask zone.js:257 scheduleMicroTask zone.js:277 C zone.js:1316 P zone.js:1253 O zone.js:1169 A zone.js:1185 onload import.component.ts:233 invoke zone.js:409 onInvoke ng_zone.ts:418 invoke zone.js:408 runGuarded zone.js:180 s zone.js:163 set zone.js:980 getFileContents import.component.ts:220 t zone.js:1351 getFileContents import.component.ts:217 submit import.component.ts:97 E 297.eab0517393b948250535.js:1 t zone.js:1351 E 297.eab0517393b948250535.js:1 submit 297.eab0517393b948250535.js:1 template import.component.html:7 jc listener.ts:225 r listener.ts:263 next Subscriber.ts:161 _next Subscriber.ts:119 next Subscriber.ts:75 next Subject.ts:68 r errorContext.ts:29 next Subject.ts:61 emit event_emitter.ts:114 onSubmit ng_form.ts:300 hostBindings ng_form.ts:136 jc listener.ts:225 r listener.ts:263 _ dom_renderer.ts:67 invokeTask zone.js:443 onInvokeTask ng_zone.ts:403 invokeTask zone.js:442 runTask zone.js:214 Same with qutebrowser on linux and firefox & chrome on windows.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1657