# Phantom user result in userid

**URL:** <https://forum.keycloak.org/t/phantom-user-result-in-userid/10608>\
**Category:** Configuring the server\
**Tags:** identity-brokering\
**Created:** [August 19, 2021, 3:40pm UTC](https://forum.keycloak.org/t/phantom-user-result-in-userid/10608 "2021-08-19T15:40:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjbludwig](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/mjbludwig/32/3539_2.png) [@mjbludwig](https://forum.keycloak.org/u/mjbludwig)\
**Post date:** [August 19, 2021, 3:40pm UTC](https://forum.keycloak.org/t/phantom-user-result-in-userid/10608/1 "2021-08-19T15:40:33Z")

</div>

Hi All,

For a specific user I am running into multiple results connected to their userid but am not sure how to remove the erroneous/unnecessary one.

When the user is being mapped I get:

```auto
2021-08-19 11:14:13,783 ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (defau
lt task-52) Failed to make identity provider oauth callback: java.lang.IllegalStateException: 
More results found for identityProvider=oidc, userId=4e90e1ad-6fb8-4f83-9ac3-8a0ee4eb16c4, res
ults=[f:b3c6ce3e-f5dc-4cad-8bdf-1ed8078acb3e:CORRECT_USERNAME, f:b3c6ce3e-f5dc-4cad-8bdf-1ed8078acb3e:
INCORRECT_USERNAME]

```

I have a read-only connection to my backend ldap. At one point the INCORRECT\_USERNAME did exist but this was changed to the CORRECT\_USERNAME in ldap but it seems like keycloak may have made that second account in its local database as well. Is it possible to purge that incorrect account?
