# A generic error message shown on the email verification screen when a specific one is expected

**URL:** <https://community.auth0.com/t/a-generic-error-message-shown-on-the-email-verification-screen-when-a-specific-one-is-expected/98880>\
**Category:** Get Help\
**Tags:** new-universal-login-no-code-customizatio, branding\
**Created:** [January 25, 2023, 3:19am UTC](https://community.auth0.com/t/a-generic-error-message-shown-on-the-email-verification-screen-when-a-specific-one-is-expected/98880 "2023-01-25T03:19:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaroslaw.marek](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jaroslaw.marek/32/43005_2.png) [@jaroslaw.marek](https://community.auth0.com/u/jaroslaw.marek)\
**Post date:** [January 25, 2023, 3:19am UTC](https://community.auth0.com/t/a-generic-error-message-shown-on-the-email-verification-screen-when-a-specific-one-is-expected/98880/1 "2023-01-25T03:19:46Z")

</div>

Hi,  
I’m testing the out-of-the-box email verification flow with the new Universal Login.  
After registering as a new user, I get an email with a link to confirm my address. When I click on it, it shows that the email was verified - happy path works fine.

But I’m trying to test some error scenarios and what I’ve found is that I always see the generic error message even in cases which I’d expect to see a specific, more useful, message:

1. When I click on the same link for the second time. I’d expect to see the message from `alreadyVerifiedDescription`, but I see the text from `unknownErrorDescription` instead.
2. When I click on a link which hasn’t been previously used but is expired, I’d expect to see the message from `auth0-users-expired-ticket` field but I, again, see the message from `unknownErrorDescription`.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/2/8/285deb575168d78ff5652f2619c0d5be1ca29be3.png)

Is it me doing something wrong, or is there a bug in Auth0 causing the generic error message to be shown in all cases?  
It’s very confusing for the users and prevents them recovering from the situation they got themselves into…

Looking forward to hearing from you.

---

<div class="post-metadata">

**Author:** ![bartosz.strachowski](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@bartosz.strachowski](https://community.auth0.com/u/bartosz.strachowski)\
**Post date:** [July 11, 2023, 10:07am UTC](https://community.auth0.com/t/a-generic-error-message-shown-on-the-email-verification-screen-when-a-specific-one-is-expected/98880/2 "2023-07-11T10:07:15Z")

</div>

Hi there.  
We are facing the exact same issue.  
Was there something that helped you with it? Or were you able to sort it out?

Similar issue is happening when the link is expired.  
There is no specific message but this general error.

---

<div class="post-metadata">

**Author:** ![aledev](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@aledev](https://community.auth0.com/u/aledev)\
**Post date:** [July 11, 2023, 10:39am UTC](https://community.auth0.com/t/a-generic-error-message-shown-on-the-email-verification-screen-when-a-specific-one-is-expected/98880/3 "2023-07-11T10:39:22Z")

</div>

Hi @jaroslaw.marek please let us know if you find a solution to this, we run into the same problem.

---

<div class="post-metadata">

**Author:** ![jaroslaw.marek](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jaroslaw.marek/32/43005_2.png) [@jaroslaw.marek](https://community.auth0.com/u/jaroslaw.marek)\
**Post date:** [July 11, 2023, 10:09pm UTC](https://community.auth0.com/t/a-generic-error-message-shown-on-the-email-verification-screen-when-a-specific-one-is-expected/98880/4 "2023-07-11T22:09:30Z")

</div>

Hi @aledev @bartosz.strachowski  
Unfortunately we didn’t find a proper solution to this.  
Our workaround is still to have the `unknownErrorDescription` set to a text that describes what might have actually happened. It’s far from ideal as it basically says “Account was already verified or the link expired, or something else went wrong…”

---

<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:** [July 25, 2023, 10:10pm UTC](https://community.auth0.com/t/a-generic-error-message-shown-on-the-email-verification-screen-when-a-specific-one-is-expected/98880/5 "2023-07-25T22:10:28Z")

</div>

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