Auth0 Home Blog Docs

Phantom user blocks real user from signing in



I have a user who can no longer sign in to out website. When I search for his email in Auth0 I see 2 users. When I click on one of them, I’m told that the user does not exist.

When the user tries to sign in he get this error:



    "statusCode": 404,
    "error": "Not Found",
    "message": "The user does not exist.",
    "errorCode": "inexistent_user"

What should I do?


Based on the information you provided I would guess there’s a custom rule doing a user search operation (probably for account linking purposes) and that logic is obtaining two users for the email associated with the end-user having the problem. Given it detected two users it proceeds to try to link the accounts, but fails because the user identity in question no longer exists. The rule is likely also handling the failure in linking as complete failure in the login transaction which may or may not be what you intend.

If the above is correct the recommendation would be to disable the account linking rule or handling the actual failure in linking the account in a way that does not fail the underlying login transaction; the user would be able to complete authentication despite the error when trying to link an account based on the results coming from user search.

Have in mind that we are experiencing issues with user search functionality as noted in the status page so the best course of action for now could be disabling the rule.


There have been multiple report of this same issue for over a month now. The account linking functionality appears to be broken right now and leaves behind corrupted profiles that can not be deleted via the dashboard nor the management api. More details here:


Thanks @jmangelo and @niklas.appelroth

This seems to be my issue exactly.


Thanks @jmangelo and @niklas.appelroth

This seems to be my issue exactly.