# Bulk Import Users, get users that was not imported

**URL:** <https://community.auth0.com/t/bulk-import-users-get-users-that-was-not-imported/85069>\
**Category:** Get Help\
**Tags:** bulk-user-import, auth0\
**Created:** [June 14, 2022, 8:43am UTC](https://community.auth0.com/t/bulk-import-users-get-users-that-was-not-imported/85069 "2022-06-14T08:43:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bechirlahmer2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bechirlahmer2/32/37801_2.png) [@bechirlahmer2](https://community.auth0.com/u/bechirlahmer2)\
**Post date:** [June 14, 2022, 8:43am UTC](https://community.auth0.com/t/bulk-import-users-get-users-that-was-not-imported/85069/1 "2022-06-14T08:43:21Z")

</div>

Hello  
When i import users with a JSON file, i get the status of that job ( with an ID … ), is that mean that all users was imported ? if not, how can i get the users that was not imported from that file.

Thank you.

---

<div class="post-metadata">

**Author:** ![gparascandolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gparascandolo/32/38788_2.png) [@gparascandolo](https://community.auth0.com/u/gparascandolo)\
**Post date:** [June 14, 2022, 1:55pm UTC](https://community.auth0.com/t/bulk-import-users-get-users-that-was-not-imported/85069/2 "2022-06-14T13:55:15Z")

</div>

@bechirlahmer2 When you retrieve the details of a completed job from the Management API, there is a `summary` object that shows you how many users failed to import.

For example:

```auto
  "status": "completed",
  "type": "users_import",
  "created_at": "",
  "id": "job_abc123",
  "connection_id": "CONNECTION_ID",
  "external_id": "EXTERNAL_ID",
  "location": "https://YOUR_DOMAIN/EXAMPLE",
  "summary": {
    "failed": 0, <--- ** HERE IS NUMBER OF USERS WHO FAILED TO BULK IMPORT
    "updated": 0,
    "inserted": 1,
    "total": 1
  }
}

```

To get the details of the failed users, you can use the [/api/v2/jobs/{id}/errors](https://auth0.com/docs/api/management/v2#!/Jobs/get_errors) endpoint with the Job ID.

More info in this documentation  
[https://auth0.com/docs/manage-users/user-migration/bulk-user-imports#retrieve-failed-entries](https://auth0.com/docs/manage-users/user-migration/bulk-user-imports#retrieve-failed-entries)

---

<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:** [July 28, 2022, 1:32pm UTC](https://community.auth0.com/t/bulk-import-users-get-users-that-was-not-imported/85069/3 "2022-07-28T13:32:23Z")

</div>

Teamwork makes the dreamwork!

---

<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:** [July 28, 2022, 1:32pm UTC](https://community.auth0.com/t/bulk-import-users-get-users-that-was-not-imported/85069/4 "2022-07-28T13:32:27Z")

</div>


