# Error 'Something Went Wrong' when user tries to register an already registered email address

**URL:** <https://community.auth0.com/t/error-something-went-wrong-when-user-tries-to-register-an-already-registered-email-address/98099>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [January 13, 2023, 1:42am UTC](https://community.auth0.com/t/error-something-went-wrong-when-user-tries-to-register-an-already-registered-email-address/98099 "2023-01-13T01:42:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sajith.jayaratne](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sajith.jayaratne/32/42601_2.png) [@sajith.jayaratne](https://community.auth0.com/u/sajith.jayaratne)\
**Post date:** [January 13, 2023, 1:42am UTC](https://community.auth0.com/t/error-something-went-wrong-when-user-tries-to-register-an-already-registered-email-address/98099/1 "2023-01-13T01:42:29Z")

</div>

Hi,

I have come across an issue where if a user registers themselves first and then goes back to the registration page and uses the same email address, it comes up with ‘Something went wrong’.

Shouldn’t it ideally say that this user is already registered? Or am I missing something here?

Thanks  
Saj

---

<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:** [January 14, 2023, 12:25am UTC](https://community.auth0.com/t/error-something-went-wrong-when-user-tries-to-register-an-already-registered-email-address/98099/3 "2023-01-14T00:25:36Z")

</div>

Hi @sajith.jayaratne,

Welcome to the Auth0 Community!

The “Something went wrong” error is the expected behavior since revealing that a “user already exists” may allow a malicious actor to infer that the account actually exists and target that specific account knowing that it’s valid. Because of this, we strongly recommend using a generic error for the public signup error message.

Please check out this Community Topic that explains this in more depth:

> [@Invalid\_signup error returns instead of user\_exists from authentication API](https://community.auth0.com/t/invalid-signup-error-returns-instead-of-user-exists-from-authentication-api/29451/4):
>
> Hello, we recently changed user\_exits error to invalid\_signup to improve security against a potential username enumeration attack. The feature is “on” by default for new tenants so these would get a generic invalid\_signup error. For existing tenants it’s an opt-in behaviour which can be enabled from tenant settings. You can find the official notification [here](https://support.auth0.com/notifications/5d2cb6209db665000aed8695). We highly recommend that you turn on this feature to close username enumeration threat.

Thanks,  
Rueben

---

<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:** [January 28, 2023, 12:26am UTC](https://community.auth0.com/t/error-something-went-wrong-when-user-tries-to-register-an-already-registered-email-address/98099/4 "2023-01-28T00:26:22Z")

</div>

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