Cannot create new user

I’m new using Auth0 and I tried to create a new user manually with no existing users in the list in the app dashboard: https://manage.auth0.com/#/users it keeps saying that: The user already exists

i also tried to use the API endpoint:

axios.post('https://<my-domain>/dbconnections/signup', {
    client_id: 'my-client-id',
    email: req.body.email,
    password: req.body.password,
    connection: 'Username-Password-Authentication'
  }).then((response) => {
    console.log(response)
  }).catch(error => console.log(error));

which still returns the same error: The user already exists

Are you using the same user when you’re testing? Do you see the user in the list after awhile?

nope, i was trying to create a new user, completely not in the list of users in my Users list.
i was able to do JSON import of users but when i tried doing it manually on the Create User in Users tab or using the code, it always returns: The user already exists error

This issue is happening because there is a custom DB script that is returning a hardcoded user on the GetUser call.

This is why this error is showing in the dashboard when trying to create a new user.

Thanks, I disabled the custom DB instead.

1 Like

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