# Rules lack UnauthorizedError, require,

**URL:** <https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575>\
**Category:** Get Help\
**Tags:** not-working, undefined, rules\
**Created:** [February 23, 2018, 6:08pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575 "2018-02-23T18:08:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurt.sys](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kurt.sys/32/22516_2.png) [@kurt.sys](https://community.auth0.com/u/kurt.sys)\
**Post date:** [February 23, 2018, 6:08pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575/1 "2018-02-23T18:08:48Z")

</div>

Hi,  
I had some rules working in auth, but since today, they don’t work anymore because they contain errors - without changing anything. Also some predefined rules have errors.  
The error is always … is not defined, with … being:

- UnauthorizedError
- console
- require
- request
- auth0

What happened or changed in auth0? How can I solve this?

Thx, Kurt

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 23, 2018, 6:26pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575/2 "2018-02-23T18:26:48Z")

</div>

There is currently an issue with the rule’s editor in the dashboard, where it does not recognise some objects such as the ones you mention. It does not affect the actual rules, as the objects are still available at runtime and this issue with the UI is now being addressed by engineering.

---

<div class="post-metadata">

**Author:** ![kurt.sys](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kurt.sys/32/22516_2.png) [@kurt.sys](https://community.auth0.com/u/kurt.sys)\
**Post date:** [February 23, 2018, 6:32pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575/3 "2018-02-23T18:32:12Z")

</div>

ok, thx for the info - it seems to affect run-time as well, since I can’t login into my apps anymore…

---

<div class="post-metadata">

**Author:** ![kurt.sys](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kurt.sys/32/22516_2.png) [@kurt.sys](https://community.auth0.com/u/kurt.sys)\
**Post date:** [February 23, 2018, 6:32pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575/4 "2018-02-23T18:32:12Z")

</div>

ok, thx for the info - it seems to affect run-time as well, since I can’t login into my apps anymore…

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 23, 2018, 6:38pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575/5 "2018-02-23T18:38:18Z")

</div>

What error are you seeing? Anything shows up in the dashboard logs? Could you also share a snippet from your authentication request?

---

<div class="post-metadata">

**Author:** ![dineshui90](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@dineshui90](https://community.auth0.com/u/dineshui90)\
**Post date:** [February 27, 2018, 11:26pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575/6 "2018-02-27T23:26:20Z")

</div>

I am facing the same issue… It is effecting my webhook call. When i try to hit my legacy API which i hosted.

![alt text][1]

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 13, 2019, 2:38pm UTC](https://community.auth0.com/t/rules-lack-unauthorizederror-require/9575/7 "2019-08-13T14:38:14Z")

</div>


