Auth0 Home Blog Docs

About failed records of summary ( /api/v2/jobs/users-imports)

Is there any documentation about the condition which /api/v2/jobs/users-imports summary return failed records

Hi @makoto-matsumoto,

Could you post a screen capture of the error?

Thanks,
Dan

Hi @dan.woda

Thank you for your reply!

Sorry for miscommunication.
Our problem isn’t to solve the specific error, but to understand all the possible errors.

For error handling of failed records perfectly in our service,
we want a document that describes all possible conditions of errors.

Could you share the document if published?
If it’s unavailable, I appreciate if you describe this case.

Thanks,
Makoto

@makoto-matsumoto,

Look under the import job endpoint in the management API doc. It has all the error codes. Is that what you are looking for?

https://auth0.com/docs/api/management/v2#!/Jobs/post_users_imports.

Thanks,
Dan

@dan.woda

Thank you for the information.
I understand that the list of “HTTP status code” is described here.

However, what I would like to know is about all possible errors (codes and messages) in failed records as a result of “users-imports job” being executed.
Sorry for the unclear explanation.

I can get the details of failed records in “/api/v2/jobs/{id}/errors”.
For example, we have confirmed that the following will be returned.

I would like to know all kinds of codes and messages that Auth0 might return.
If there is a document about it, it would be greatly appreciated if we can have the URL.

[
  {
    "user": {
      "email": "*****@*****",
      "email_verified": true,
    },
    "errors": [
      {
        "code": "DUPLICATED_USER",
        "message": "The user already exist and upsert parameter is false"
      }
    ]
  }
]

Thanks,
Makoto

It doesn’t look like there is a doc listing those errors at this time. I am going to look into it deeper and see if I can come up with them.

Thank you for your reply.
We look forward to seeing the results.

Hi @makoto-matsumoto,

Thank you for your patience on this question.

I have searched and can’t find a central location where the errors you are looking or are listed. Sorry I couldn’t be of more help.

Good luck,
Dan

Hi @dan.woda

Thank you for your search.

Thanks,
Makoto