# Can't set the error code in an action

**URL:** <https://community.auth0.com/t/cant-set-the-error-code-in-an-action/78864>\
**Category:** Get Help\
**Tags:** rules, login, auth0\
**Created:** [February 24, 2022, 2:58pm UTC](https://community.auth0.com/t/cant-set-the-error-code-in-an-action/78864 "2022-02-24T14:58:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 28, 2022, 11:41am UTC](https://community.auth0.com/t/cant-set-the-error-code-in-an-action/78864/3 "2022-02-28T11:41:50Z")

</div>

Hi @mattia.pettenuzzo ,

I’m afraid I could not find any evidence of this being currently worked on or planned. I would recommend raising this as a feedback request here: [Feedback](https://auth0.com/feedback)

Until such a thing were implemented, I would recommend using the error description field to generate your application’s own error message, you could pass your own custom error codes for example or just look for the string, and have your application render the appropriate message based on the description, in the user’s own language.

---

_[View the full topic](https://community.auth0.com/t/cant-set-the-error-code-in-an-action/78864)._
