Why dbconnections/signup returns 400 when user has existed? Why not return 409?

In the document of signup/create-a-new-user. This seems to return ‘409Conflict, user already exists.’ if a user exists, but in fact it returns 400.

Hi @fvoidcn and welcome to the Auth0 Community!

Thank you for pointing this out! Please allow me some time to investigate, and I will get back to you with an answer.

Have a great day!
Teodor.

Hi again @fvoidcn !

When I test it, the endpoint returns the correct response, a 409 Conflict.

Is it possible for you to give more details of the steps you took so I can try to recreate it?

Kind regards,
Teodor.

I have tried again. Actually the log in auth0 is “The user already exists.”, log_id: ‘90020250917070019501741000000000000001223372041734337680‘. But It responses ‘{
“name”: “BadRequestError”,
“code”: “invalid_signup”,
“description”: “Invalid sign up”,
“statusCode”: 400
}‘ in the chrome page. It is so strangeness.

Hi again @fvoidcn !

If it’s not too much trouble, could you please write down the steps you took?

Kind regards,
Teodor.

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