# User already exists when we try to migrate user to auth0

**URL:** <https://community.auth0.com/t/user-already-exists-when-we-try-to-migrate-user-to-auth0/146543>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [September 12, 2024, 2:59am UTC](https://community.auth0.com/t/user-already-exists-when-we-try-to-migrate-user-to-auth0/146543 "2024-09-12T02:59:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmadala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pmadala/32/59976_2.png) [@pmadala](https://community.auth0.com/u/pmadala)\
**Post date:** [September 12, 2024, 2:59am UTC](https://community.auth0.com/t/user-already-exists-when-we-try-to-migrate-user-to-auth0/146543/1 "2024-09-12T02:59:25Z")

</div>

Hi,  
We have custom database to migrate the users. We are trying to migrate the user to auth0 but it says user already exists. But when I search user with userid/username/email it doesn’t show user in auth0. I tired to unblock and delete user using userid/email still same error is returned. I am not sure what is causing the issue, can you please help to identity the root cause of the issue.

Thank you.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 12, 2024, 11:12pm UTC](https://community.auth0.com/t/user-already-exists-when-we-try-to-migrate-user-to-auth0/146543/3 "2024-09-12T23:12:08Z")

</div>

Hi @pmadala,

Welcome to the Auth0 Community!

I recommend checking out [this knowledge solution](https://community.auth0.com/t/user-already-exists-error-is-shown-when-trying-to-create-a-new-user-but-cannot-find-user-with-email-in-searches/120220) on the “User already exists” error that happens when trying to migrate users through your custom database.

Let me know if you have any questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![benstokes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/benstokes/32/59869_2.png) [@benstokes](https://community.auth0.com/u/benstokes)\
**Post date:** [September 15, 2024, 6:14am UTC](https://community.auth0.com/t/user-already-exists-when-we-try-to-migrate-user-to-auth0/146543/4 "2024-09-15T06:14:36Z")

</div>

I faced the same issue and fortunately found this relevant thread[.](https://www.bnolocksmithca.com/) Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 29, 2024, 6:15am UTC](https://community.auth0.com/t/user-already-exists-when-we-try-to-migrate-user-to-auth0/146543/5 "2024-09-29T06:15:11Z")

</div>

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