# Bulk Import From WordPress is not Working

**URL:** <https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592>\
**Category:** Get Help\
**Tags:** user-import\
**Created:** [July 25, 2022, 2:42pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592 "2022-07-25T14:42:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tin/32/25932_2.png) [@tin](https://community.auth0.com/u/tin)\
**Post date:** [July 25, 2022, 2:42pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/1 "2022-07-25T14:42:18Z")

</div>

Im trying to import all my users to Auth0, but the problem is that is saying

```auto
[{"user":{"email":"tin@***.com","email_verified":true,"user_metadata":{"roles":["administrator"]},"custom_password_hash":{"algorithm":"md5","hash":{"value":"*****","encoding":"base64","digest":"md5"}}},"errors":[{"code":"ONE_OF_MISSING","message":"","path":"custom_password_hash"}]}]

```

here is the json file:

```auto
[
  {
    "email": "tin@ ****.com",
    "email_verified": true,
    "user_metadata": {
      "roles": [
        "administrator"
      ]
    },
    "custom_password_hash": {
      "algorithm": "md5",
      "hash": {
        "value": "$P$BjbR0ufEEqXmXfJIqattrQdbHTd0Yl1",
        "encoding":"base64"
      }
    }
  }
]

```

Anyone has encounter this problem in the past?

Thanks

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 25, 2022, 6:40pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/4 "2022-07-25T18:40:54Z")

</div>

Hi @tin ,

Welcome to the Auth0 Community!

I noticed that the `role` has a square bracket around it. Could you please remove it and try again? With the below testing scripts, I imported the users successfully.

```auto
[
{
    "email": "user1@xxx.com",
    "email_verified": true,
    "user_metadata": {
      "roles": 
        "administrator"
    },
    "custom_password_hash": {
        "algorithm": "md5",
        "hash": {
            "value": "cGFzc3dvcmQ=5f4dcc3b5aa765d61d8327deb882cf99",
            "encoding": "base64"
        }
    }
},
{
    "email": "user2@xxx.com",
    "email_verified": true,
    "user_metadata": {
      "roles": 
        "user"
    },
    "custom_password_hash": {
        "algorithm": "md5",
        "hash": {
            "value": "cGFzc3dvcmQ=5f4dcc3b5aa765d61d8327deb882cf99",
            "encoding": "base64"
        }
    }
}
]

```

Hope this helps!

---

<div class="post-metadata">

**Author:** ![tin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tin/32/25932_2.png) [@tin](https://community.auth0.com/u/tin)\
**Post date:** [July 25, 2022, 7:05pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/5 "2022-07-25T19:05:24Z")

</div>

Still nothing!  
I think its regarding the way that is the MD5

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 25, 2022, 7:17pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/6 "2022-07-25T19:17:42Z")

</div>

Could you please DM me your tenant name, and the password? Thanks.

---

<div class="post-metadata">

**Author:** ![tin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tin/32/25932_2.png) [@tin](https://community.auth0.com/u/tin)\
**Post date:** [July 25, 2022, 10:54pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/7 "2022-07-25T22:54:08Z")

</div>

I found that WordPress is doing something extra:  
[https://ehikioya.com/wordpress-password-hash-generator/](https://ehikioya.com/wordpress-password-hash-generator/)  
so, for now Im not sure what/how do I need to the JSON file with the users.

still looking for the answer.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 26, 2022, 12:10am UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/9 "2022-07-26T00:10:08Z")

</div>

Hi @tin ,

I checked our internal conversation and found that we don’t support WordPress hashing at per the current design.  
Please feel free to communicate directly to our product team using our [feedback page](https://auth0.com/feedback) and click on the Vote button. Thank you!

---

<div class="post-metadata">

**Author:** ![tin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tin/32/25932_2.png) [@tin](https://community.auth0.com/u/tin)\
**Post date:** [July 26, 2022, 1:43am UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/10 "2022-07-26T01:43:51Z")

</div>

Well, somehow you guys should support it cause you have a plugin for WordPress in order to make the migration: [Login by Auth0 – WordPress plugin | WordPress.org](https://wordpress.org/plugins/auth0/)

so, maybe you guys can guide me to make this happen in a bulk import.

Regards.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 27, 2022, 4:43pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/11 "2022-07-27T16:43:42Z")

</div>

I agree with you. As I said earlier, please pass this feedback to our product team on the feedback page.

I checked with our internal team. Unfortunately, there is no workaround unless using a different hash, such as the md5 algorithm in my testing scripts.

---

<div class="post-metadata">

**Author:** ![arnaldo.capo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/arnaldo.capo/32/40512_2.png) [@arnaldo.capo](https://community.auth0.com/u/arnaldo.capo)\
**Post date:** [October 10, 2022, 10:20pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/12 "2022-10-10T22:20:54Z")

</div>

@lihua.zhang was this ever developed?

Cheers

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [October 10, 2022, 10:38pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/14 "2022-10-10T22:38:57Z")

</div>

@arnaldo.capo ,

This feature is not available yet. Please raise this feature request with our product team via the [feedback](https://auth0.com/feedback) page. Thanks!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 21, 2022, 6:09pm UTC](https://community.auth0.com/t/bulk-import-from-wordpress-is-not-working/87592/15 "2022-12-21T18:09:00Z")

</div>


