# Where can I find documentation for a custom error page?

**URL:** <https://community.auth0.com/t/where-can-i-find-documentation-for-a-custom-error-page/106069>\
**Category:** Get Help\
**Tags:** error-pages, branding\
**Created:** [May 3, 2023, 12:42pm UTC](https://community.auth0.com/t/where-can-i-find-documentation-for-a-custom-error-page/106069 "2023-05-03T12:42:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreas.lundgren](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andreas.lundgren/32/44775_2.png) [@andreas.lundgren](https://community.auth0.com/u/andreas.lundgren)\
**Post date:** [May 3, 2023, 12:42pm UTC](https://community.auth0.com/t/where-can-i-find-documentation-for-a-custom-error-page/106069/1 "2023-05-03T12:42:37Z")

</div>

I find the default error page used for expired email verification tokens a bit week, it just states " Error. Your email address could not be verified." without telling the reason.

If I use a custom error page, I will get a query parameter stating the reason, that it is expired. It will be [https://example.com/my-custom-error-page.html?error\_description=Access%20expired](https://example.com/my-custom-error-page.html?error_description=Access%20expired)

Where can I find documentation about what other error\_descriptions I may receive here? (and is it possible to get an error code instead of a description?)

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [May 8, 2023, 9:17am UTC](https://community.auth0.com/t/where-can-i-find-documentation-for-a-custom-error-page/106069/5 "2023-05-08T09:17:58Z")

</div>

Hey there,  
To my knowledge, by default, Auth0 will not return a detailed information (whether in a form of text description or a status code) of why the email verification result is unsuccessful.

We could approach your problem from a bit different perspective - from a customer (developer / administrator) point of view, **there is only one way** to verify the email _per the verification method_ by the end user. For example, in case of magic link sent to verify the email, the only operational reason for this to fail would be to click it after the expiration time.

For the other - **non-operational reasons** - not showing the detailed reasoning might be security-justified.

Let me please also bring here a way to update the description of the email verification failure pages. [Here](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates?_gl=1*qwo90k*rollup_ga*MTk1Nzc4MDc3MS4xNjgxODkyMTY1*rollup_ga_F1G3E656YZ*MTY4MzUyOTg5Mi4zNC4xLjE2ODM1MzAwMjguNTMuMC4w&_ga=2.236467521.1734292560.1683524608-1957780771.1681892165#page-templates-api) you can find the variables available to modify how the page is rendered by providing your own description (text) for the specific key. (especially, please see the screenshot below for prompts and keys)

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/1/e1216a69cde20c5aef41949577b072637eb255ff.png)

Here are the [samples API](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts) calls to customise prompts and screens.

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

Please reach out if that helps or if you would like to expand the topic with your new suggestions / insight!  
Sample API call that you could potentially use:

```auto
curl --request PUT \
  --url 'https://{yourDomain}/api/v2/prompts/email-verification/custom-text/en' \
  --header 'authorization: Bearer MGMT_API_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data '{ "email-verification-result": { "unknownErrorDescription": "Test text" } }'

```

---

<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:** [May 22, 2023, 9:18am UTC](https://community.auth0.com/t/where-can-i-find-documentation-for-a-custom-error-page/106069/6 "2023-05-22T09:18:30Z")

</div>

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