# Bulk Import failure Django 5.0.4, Logs inconclusive

**URL:** <https://community.auth0.com/t/bulk-import-failure-django-5-0-4-logs-inconclusive/133262>\
**Category:** Get Help\
**Tags:** account-linking, user-management\
**Created:** [May 2, 2024, 9:54am UTC](https://community.auth0.com/t/bulk-import-failure-django-5-0-4-logs-inconclusive/133262 "2024-05-02T09:54:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![octavio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/octavio/32/53050_2.png) [@octavio](https://community.auth0.com/u/octavio)\
**Post date:** [May 2, 2024, 9:54am UTC](https://community.auth0.com/t/bulk-import-failure-django-5-0-4-logs-inconclusive/133262/1 "2024-05-02T09:54:05Z")

</div>

Hi I’m trying to import a json file:

```auto
[
  {
    "email": "octavio+test02@msk.ai",
    "user_id": 1000,
    "custom_password_hash": {
      "algorithm": "pbkdf2",
      "hash": {
        "value": "C49I6rjRKWZVUwsJmk+U5220dyZOkeh2T1wROpSqJTs=",
        "encoding": "base64"
      },
      "salt": {
        "value": "FpXg0LtGgyqCYnuYgxNPM4",
        "encoding": "base64"
      },
      "hashing_algorithm_params": {
        "rounds": 720000,
        "algorithm": "sha256"
      }
    }
  }
]

```

I received an email stating that 1 user was processed but the job failed.

There are no details/logs about why the job failed.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [May 2, 2024, 12:59pm UTC](https://community.auth0.com/t/bulk-import-failure-django-5-0-4-logs-inconclusive/133262/3 "2024-05-02T12:59:45Z")

</div>

Hey @octavio , welcome to our Community! 👋

When using ‘`pbkdf2`’ hash algorithm, `hash.salt` is not allowed on our side, and the `hash.encoding` must be utf8 ☹

Details for ‘pbkdf2’ hash algorithm requirements are here: [Bulk User Import Database Schema and Examples](https://auth0.com/docs/manage-users/user-migration/bulk-user-import-database-schema-and-examples#pbkdf2)

In this case, I believe a user has been created, but during the next login, it will prompt a password reset (as the hashed password has not been migrated for the user). → Can you please confirm? Please let us know if you have any other questions on that topic 👍

---

<div class="post-metadata">

**Author:** ![octavio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/octavio/32/53050_2.png) [@octavio](https://community.auth0.com/u/octavio)\
**Post date:** [May 5, 2024, 2:16pm UTC](https://community.auth0.com/t/bulk-import-failure-django-5-0-4-logs-inconclusive/133262/4 "2024-05-05T14:16:48Z")

</div>

Thank’s,

Stupid mistake on my part I’ve been stretched recently & didn’t verify my payload!

I managed to get this fixed & some users uploaded.

I appreciate the response.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 19, 2024, 2:17pm UTC](https://community.auth0.com/t/bulk-import-failure-django-5-0-4-logs-inconclusive/133262/5 "2024-05-19T14:17:02Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
