# Auth0 Action api.access.deny is not displaying the provided error message to the user

**URL:** <https://community.auth0.com/t/auth0-action-api-access-deny-is-not-displaying-the-provided-error-message-to-the-user/92163>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [October 11, 2022, 3:34pm UTC](https://community.auth0.com/t/auth0-action-api-access-deny-is-not-displaying-the-provided-error-message-to-the-user/92163 "2022-10-11T15:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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 10, 2022, 6:13am UTC](https://community.auth0.com/t/auth0-action-api-access-deny-is-not-displaying-the-provided-error-message-to-the-user/92163/4 "2022-11-10T06:13:06Z")

</div>

I have this same issue where I have an action as a pre-user registration action, which will return api.access.deny with a message.

And that message is not shown in my signup lock form, only the default message is shown.

It means I am not able to use Actions and I’ll have to keep using Rules which are able to send back a customised error message to the Lock/Universal Login.

[Here is my similar post](https://community.auth0.com/t/pre-registration-action-calls-api-access-deny-how-to-show-specific-message-in-universal-login/94025)

EDIT: I did discover a way to show the error in the end for the old Lock [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/auth0-action-api-access-deny-is-not-displaying-the-provided-error-message-to-the-user/92163)._
