# How to catch sign up error and display error with LOCK?

**URL:** <https://community.auth0.com/t/how-to-catch-sign-up-error-and-display-error-with-lock/63986>\
**Category:** Get Help\
**Tags:** signup, auth0\
**Created:** [June 7, 2021, 5:50am UTC](https://community.auth0.com/t/how-to-catch-sign-up-error-and-display-error-with-lock/63986 "2021-06-07T05:50:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeilShang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/neilshang/32/29808_2.png) [@NeilShang](https://community.auth0.com/u/NeilShang)\
**Post date:** [June 7, 2021, 5:50am UTC](https://community.auth0.com/t/how-to-catch-sign-up-error-and-display-error-with-lock/63986/1 "2021-06-07T05:50:22Z")

</div>

I use action deny signup like this

 ![图片](https://global.discourse-cdn.com/auth0/original/3X/3/f/3fd4cc4c9e2df21d58b0923684c7193510bcabad.png)  
And I get error message in web  
how to catch signup error and display this error info here?[Universal Login]  
 ![图片](https://global.discourse-cdn.com/auth0/original/3X/a/f/af9d866ad2c9cbc93086caecf4e702ef1f070d58.png)

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [June 7, 2021, 1:33pm UTC](https://community.auth0.com/t/how-to-catch-sign-up-error-and-display-error-with-lock/63986/3 "2021-06-07T13:33:36Z")

</div>

Hi @NeilShang,

It is only possible to propagate the error message returned from the hook using the New Universal Login experience:

> **[Pre-User Registration](https://auth0.com/docs/customize/hooks/extensibility-points/pre-user-registration)**
>
> Learn how Hooks can be used with the Pre-User Registration extensibility point, which is available for database connections and passwordless connections.

However, you can customize error messages using lock:

> **[Customize Lock Error Messages](https://auth0.com/docs/customize/customize-lock-error-messages)**
>
> Customizing error messages with Lock v11

---

<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:** [June 22, 2021, 1:33pm UTC](https://community.auth0.com/t/how-to-catch-sign-up-error-and-display-error-with-lock/63986/4 "2021-06-22T13:33:57Z")

</div>

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