Auth0 Home Blog Docs

Bulk import job is pending for hours

Hi, I am trying the bulk import tool for my users, but the job remains as “pending” for hours.

(
    [type] => users_import
    [status] => pending
    [connection_id] => **CONNECTION_ID**
    [connection] => tkm-test
    [created_at] => 2019-09-03T07:07:25.349Z
    [id] => **ID**
)
(
    [type] => users_import
    [status] => pending
    [connection_id] => **CONNECTION_ID**
    [connection] => tkm-test
    [created_at] => 2019-09-03T07:07:25.349Z
    [id] => **ID**
)
  • The following error occurred when I tried to make a third request for creating the job.
POST https://MY_TENANT.auth0.com/api/v2/jobs/users-imports` resulted in a `429 Too Many Requests` response:
{"statusCode":429,"error":"Too Many Requests","message":"There are 2 active import users jobs, please wait until some of (truncated...)
  • I confirmed that the same error occurs for the additional requests after that, but the error is resolved after an hour. However, the problem with the “pending” status is persisted.

I hope this information is clear enough to investigate the problem.

Thanks so much for your help!

1 Like

I am experiencing the same issue.
We need to go live soon and this is a major blocker for us at the moment.

For me, after about 2-3 hours of creating the job, the status changes to failed and the error says Failed to parse users file when importing users.

I checked the json file and it is as per the import schema defined at https://auth0.com/docs/users/references/bulk-import-database-schema-examples

I tried using a json file with only 158 users and it fails - after being pending for around 3 hours
Then I tried using a json file with only a single user, got similar result as above.

Tried yesterday, and today, it keeps on failing. Do resolve this soon please.

I am also experiencing the same issue, which is affecting customers as we are partway through a large migration.

I believe this is now fixed, as the incident report has been created and it’s marked as resolved: http://status.auth0.com/incidents/441lq6kp31nd