Auth0 Home Blog Docs

Cannot create new user

user-creation

#1

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


#2

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


#3

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


#4

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


#6

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.


#7

Thanks, I disabled the custom DB instead.


#8

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