# Retrieve JobID of a failed users-import job

**URL:** <https://community.auth0.com/t/retrieve-jobid-of-a-failed-users-import-job/88872>\
**Category:** Get Help\
**Tags:** user-creation, auth0\
**Created:** [August 16, 2022, 9:37pm UTC](https://community.auth0.com/t/retrieve-jobid-of-a-failed-users-import-job/88872 "2022-08-16T21:37:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarah.reed](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sarah.reed/32/33507_2.png) [@sarah.reed](https://community.auth0.com/u/sarah.reed)\
**Post date:** [August 16, 2022, 9:37pm UTC](https://community.auth0.com/t/retrieve-jobid-of-a-failed-users-import-job/88872/1 "2022-08-16T21:37:47Z")

</div>

I needed to update a lot of users so I uploaded a json to the users-import job. The email I got back was that 382 users were updated but 8 failed. I’d like to know which ones failed. I found the Get Job Errors endpoint but I don’t know the job ID of the job that failed. Is there a way to retrieve that?

---

<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:** [August 16, 2022, 10:00pm UTC](https://community.auth0.com/t/retrieve-jobid-of-a-failed-users-import-job/88872/3 "2022-08-16T22:00:18Z")

</div>

Hi @sarah.reed ,

The Job id of the user import job is available in the response.

{  
“status”: “pending”,  
“type”: “users\_import”,  
“created\_at”: “”,  
**“id”: “job\_0000000000000001”** ,  
“connection\_id”: “con\_0000000000000001”,  
“external\_id”: “”  
}

Reference:

> **[Auth0 Management API v2](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_imports)**

---

<div class="post-metadata">

**Author:** ![sarah.reed](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sarah.reed/32/33507_2.png) [@sarah.reed](https://community.auth0.com/u/sarah.reed)\
**Post date:** [August 16, 2022, 10:08pm UTC](https://community.auth0.com/t/retrieve-jobid-of-a-failed-users-import-job/88872/4 "2022-08-16T22:08:31Z")

</div>

Thanks for your quick response! I didn’t record the response in the pop up window that comes up when I click “Try.” Is there a way to access this after I’ve closed out of that window. I’m purely executing these calls through that Try button.

---

<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:** [August 17, 2022, 12:11am UTC](https://community.auth0.com/t/retrieve-jobid-of-a-failed-users-import-job/88872/6 "2022-08-17T00:11:15Z")

</div>

Hi @sarah.reed ,

Unfortunately, for user import via the Management API user import endpoint, we don’t have any endpoint or method to retrieve the job id though I think that is a good idea. If you are interested in seeing this functionality, feel free to raise this with our Product team via the [feedback](https://auth0.com/feedback) page as a feature request.

As an alternative, if importing users via the [user import/export extension](https://auth0.com/docs/customize/extensions/user-import-export-extension), under the history tab, you can find the details of the import.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/0/4/0493d665b950bbd0b7925abbdf9b87ab33c414c1.jpeg)

Also, please be aware that the job information will be deleted after 24 hours. So if you could get the job id next time you run the user import, please check the status within the time limit.

Hope this helps! Please feel free to let me know if any further queries. 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:** [August 29, 2022, 3:00pm UTC](https://community.auth0.com/t/retrieve-jobid-of-a-failed-users-import-job/88872/7 "2022-08-29T15:00:01Z")

</div>

This topic was automatically closed after 12 days. New replies are no longer allowed.
