# Cannot utilize error messages from actions/hooks in universal login screen

**URL:** <https://community.auth0.com/t/cannot-utilize-error-messages-from-actions-hooks-in-universal-login-screen/92270>\
**Category:** Get Help\
**Tags:** rules, passwordless, lock, login\
**Created:** [October 12, 2022, 7:33pm UTC](https://community.auth0.com/t/cannot-utilize-error-messages-from-actions-hooks-in-universal-login-screen/92270 "2022-10-12T19:33:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jesse2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jesse2/32/13539_2.png) [@jesse2](https://community.auth0.com/u/jesse2)\
**Post date:** [November 11, 2022, 4:03am UTC](https://community.auth0.com/t/cannot-utilize-error-messages-from-actions-hooks-in-universal-login-screen/92270/3 "2022-11-11T04:03:16Z")

</div>

Yeah I can confirm that if you’re using New Universal Login with no customization html for login/signup widget, then you’ll see the error from api.access.deny.

If you’re customizing the html look/feel of the html, or using Classic login, then actions can only return a generic message, you have to use rules if you want a specific message there.

EDIT: I finally did figure it out here [Pre-Registration Action calls api.access.deny, how to show specific message in Universal Login - #4 by jesse2](https://community.auth0.com/t/pre-registration-action-calls-api-access-deny-how-to-show-specific-message-in-universal-login/94025/4)

---

_[View the full topic](https://community.auth0.com/t/cannot-utilize-error-messages-from-actions-hooks-in-universal-login-screen/92270)._
