# Import/Export unhashedPassword bug

**URL:** https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218
**Category:** Installation/Einstieg
**Created:** [1. August 2017 um 10:54 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218 "2017-08-01T10:54:18Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [1. August 2017 um 10:54 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/1 "2017-08-01T10:54:18Z")

</div>

Hallo zusammen,

vergeblich versuchen wir Kundendaten&nbsp;aus einer MS Dos csv Datei in unser Shop zu importieren. Wir haben das gesamte Forum nach aehnlichen Problemen durchgesucht und es scheint, dass mehrere Kunden solche Probleme haben. Wir haben uns an Ihre Tipps gehalten, leider hat nichts geholfen.

Der Fehler, der bestehtehen bleibt lautet:&nbsp;

"

Import error

Unhashed password must be provided for email .

"

Die Spalte mit ‚unhashed password‘ ist natuerlich in der Datei drin, wir haben auch das Profil mit den Daten, die wir importieren moechten erstellt, die Angaben sind in der richtigen Reihenfolge. Es gibt auch encoder Wir haben im Proinzip alles gemacht, trotzdem funktioniert der Import nicht. Encoder (bcrypt).

Kann uns jemand helfen?

Vielen Dank.

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [1. August 2017 um 11:02 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/2 "2017-08-01T11:02:12Z")

</div>

Ist die Spalte denn auch im Profil drin?  
Das ist ja das wichtigere. Profil kopieren, dann editieren, Passwort-Spalte löschen, neue Spalte hinzufügen -\> unhashedPassword.

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [1. August 2017 um 11:10 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/3 "2017-08-01T11:10:29Z")

</div>

New issue: "Importing finished successfully. 0 / 0

---

<div class="post-metadata">

### Author: ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)
#### Post date: [1. August 2017 um 11:12 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/4 "2017-08-01T11:12:00Z")

</div>

Hi,

hast du Leerzeilen in der Datei oder passen ggf. die Linenendings nicht? Normalerweile sollte dort eine E-Mail Adresse in der Fehlermeldung stehen - da das nicht der Fall ist, sieht es so aus, als würde sich der Importer an einer leeren Zeile verschlucken.

Die Prüfung an sich definiert, dass bei unhashedPassword die Spalten „password“ und „encoder“ sowie eben „unhashedPassword“ definiert sein müssen. Ist das der Fall? Ansonsten vll. eben einen auf das Wesentliche reduzierte Beispielimport bereitstellen, dann kann man das besser einschätzen.

Besten Gruß,

Daniel

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [1. August 2017 um 13:05 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/5 "2017-08-01T13:05:42Z")

</div>

Hey Daniel,

Thanks for your response. (I hope you speak english!)

My colleague was liasing with you previously.

The profile does not have a password column. The clear text field password (unhashedPassword) is complete and in the profile. I keep getting the unhashed password error which is frustrating - as it is not actual issue (generally). Is there a problem with the error handling?

There are no blanks anywhere. The file is complete and I successfully imported in prior versions.&nbsp;

Best,

Tarik

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [2. August 2017 um 08:55 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/6 "2017-08-02T08:55:47Z")

</div>

Hi Daniel,

hier ist meine Nachricht nochmal auf Deutsch:

Das Profil hat eine Spalte mit Passwort. Die Spalte mit dem “unhashed Passowrt” ist komplett sowohl in der csv Datei als auch in dem Profil. Trotzdem bekomme ich die Fehlermeldung. Weisst du, ob es moeglicherweise ein Problem beyuegliche der Fehlermeldungsanyeige gibt? Ich bekomme zwar die Fehlermeldung mit dem “unhashed Passwort” aber vielleicht liegt der Fehler doch woanders?

Die Liste ist uebrigens komplett, es gibt keine leeren Zeilen oder so.

Vielen Dank fuer deine Antwort im Voraus.

Tarik

---

<div class="post-metadata">

### Author: ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)
#### Post date: [2. August 2017 um 09:01 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/7 "2017-08-02T09:01:05Z")

</div>

Can you show us a screenshot of your profile (Shopware-Backend)&nbsp;and a sample from the CSV file (including the CSV header) ?

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [2. August 2017 um 09:47 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/8 "2017-08-02T09:47:17Z")

</div>

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/d/d8c8904571677c2e37c38cc305d7c138bc74afb2.png) ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/e/e63755b4a2d2eb2434b58baf7937676a7bdf4650.png)

---

<div class="post-metadata">

### Author: ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)
#### Post date: [2. August 2017 um 09:54 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/9 "2017-08-02T09:54:55Z")

</div>

With sample data I did not mean real data. This screenshot shows sensitive data and should be deleted asap.&nbsp;

Are you sure the unhashedPassword field is filled out for&nbsp; **all** &nbsp;entries? No empty field at all?

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [2. August 2017 um 09:57 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/10 "2017-08-02T09:57:34Z")

</div>

Okay.&nbsp;

Yes. I have triple checked everything!

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [2. August 2017 um 09:58 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/11 "2017-08-02T09:58:19Z")

</div>

Are there illegal characters for the pw?

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [2. August 2017 um 11:18 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/12 "2017-08-02T11:18:33Z")

</div>

@simkli‍

Any ideas?

customernumber;email;unhashedPassword;encoder;active;billing\_company;billing\_salutation;billing\_firstname;billing\_lastname;billing\_street;billing\_zipcode;billing\_city;billing\_countryID;ustid;paymentID;customergroup

Best,

&nbsp;

Tarik

---

<div class="post-metadata">

### Author: ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)
#### Post date: [2. August 2017 um 11:29 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/13 "2017-08-02T11:29:42Z")

</div>

Hi OSynce,

I just tried it. Works like a charm for me 😛

Did you map your unhashedPassword field correctly?&nbsp;[Screenshot by Lightshot](https://prnt.sc/g3e4qs)

That’s how my profile looks like: (you can import it)

```
{
    "name": "default_customers (Kopie)",
    "type": "customers",
    "tree": {
        "id": "root",
        "name": "Root",
        "type": "node",
        "children": [
            {
                "id": "537359399c80a",
                "name": "Header",
                "index": 0,
                "type": "node",
                "children": [
                    {
                        "id": "537385ed7c799",
                        "name": "HeaderChild",
                        "index": 0,
                        "type": "node",
                        "shopwareField": ""
                    }
                ]
            },
            {
                "id": "537359399c8b7",
                "name": "customers",
                "index": 1,
                "type": "",
                "shopwareField": "",
                "children": [
                    {
                        "id": "53ea047e7dca5",
                        "name": "customer",
                        "index": 0,
                        "type": "iteration",
                        "adapter": "default",
                        "parentKey": "",
                        "shopwareField": "",
                        "children": [
                            {
                                "id": "53ea048def53f",
                                "type": "leaf",
                                "index": 0,
                                "name": "customernumber",
                                "shopwareField": "customerNumber"
                            },
                            {
                                "id": "53ea052c8f4c9",
                                "type": "leaf",
                                "index": 1,
                                "name": "email",
                                "shopwareField": "email"
                            },
                            {
                                "id": "53fb366466188",
                                "type": "leaf",
                                "index": 2,
                                "name": "encoder",
                                "shopwareField": "encoder",
                                "defaultValue": ""
                            },
                            {
                                "id": "540d9e8c6ab4f",
                                "type": "leaf",
                                "index": 3,
                                "name": "active",
                                "shopwareField": "active",
                                "defaultValue": 0
                            },
                            {
                                "id": "53ea054339f8e",
                                "type": "leaf",
                                "index": 4,
                                "name": "billing_company",
                                "shopwareField": "billingCompany",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea057725a7d",
                                "type": "leaf",
                                "index": 5,
                                "name": "billing_department",
                                "shopwareField": "billingDepartment",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea0595b1d31",
                                "type": "leaf",
                                "index": 6,
                                "name": "billing_salutation",
                                "shopwareField": "billingSalutation",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea05dba6a4d",
                                "type": "leaf",
                                "index": 7,
                                "name": "billing_firstname",
                                "shopwareField": "billingFirstname",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea05de1204b",
                                "type": "leaf",
                                "index": 8,
                                "name": "billing_lastname",
                                "shopwareField": "billingLastname",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea05df9caf1",
                                "type": "leaf",
                                "index": 9,
                                "name": "billing_street",
                                "shopwareField": "billingStreet",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea05e271edd",
                                "type": "leaf",
                                "index": 10,
                                "name": "billing_zipcode",
                                "shopwareField": "billingZipcode",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea05e417656",
                                "type": "leaf",
                                "index": 11,
                                "name": "billing_city",
                                "shopwareField": "billingCity",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea0652597f1",
                                "type": "leaf",
                                "index": 12,
                                "name": "billing_countryID",
                                "shopwareField": "billingCountryID",
                                "defaultValue": ""
                            },
                            {
                                "id": "53ea118664a90",
                                "type": "leaf",
                                "index": 13,
                                "name": "customergroup",
                                "shopwareField": "customergroup",
                                "defaultValue": ""
                            },
                            {
                                "id": "5981b6e957401",
                                "type": "leaf",
                                "index": 14,
                                "name": "unhashedPassword",
                                "defaultValue": "",
                                "shopwareField": "unhashedPassword"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}

```

It does not include all of your fields.

---

<div class="post-metadata">

### Author: ![OSynce](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OSynce](https://forum.shopware.com/u/OSynce)
#### Post date: [10. August 2017 um 07:37 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/14 "2017-08-10T07:37:20Z")

</div>

@simkli‍ Hey,

&nbsp;

I mapped it correctly. I also imported your profile and tried and it’s not working. I noticed that some special characters (I guess German letters) had warped in my excel, I removed them. And Still the issue persists.&nbsp;

Any suggestions would be helpful.

Best,

&nbsp;

Tarik

---

<div class="post-metadata">

### Author: ![Koenig2020](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@Koenig2020](https://forum.shopware.com/u/Koenig2020)
#### Post date: [15. Januar 2020 um 15:29 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/15 "2020-01-15T15:29:43Z")

</div>

Ist es mit Shopware 5.6.4 möglich unverschlüsselte Passwörter per CSV Datei zu importieren und wenn Ja wie?

Über die Import Export Funktioni ist es mir leider nicht gelungen.

&nbsp;

---

<div class="post-metadata">

### Author: ![Salex2000](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@Salex2000](https://forum.shopware.com/u/Salex2000)
#### Post date: [6. Januar 2021 um 17:29 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/16 "2021-01-06T17:29:57Z")

</div>

Falls das Problem noch jemand haben sollte: Bei default\_customers fehlt das Feld unhashedPassword (aktuell nutze ich die Version 5.6.9)

Am besten eine Kopie von default\_customers anlegen, dies bearbeiten und unter customer ein neues Feld mit Feldnamen und DatenbankMapping unhashedPassword anlegen. Danach sollte es funktionieren.

---

<div class="post-metadata">

### Author: ![premium-dog](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@premium-dog](https://forum.shopware.com/u/premium-dog)
#### Post date: [3. April 2023 um 09:03 UTC](https://forum.shopware.com/t/import-export-unhashedpassword-bug/47218/17 "2023-04-03T09:03:06Z")

</div>

Hi, bei mir kann ich das Feld gar nicht anlegen, weil ich es im Dropdown nicht auswählen kann.  
In der Datenbank existiert das Feld auch nicht.
