# Sporadic error auth0@2.7.0 not found in rules

**URL:** <https://community.auth0.com/t/sporadic-error-auth0-2-7-0-not-found-in-rules/8043>\
**Category:** Get Help\
**Tags:** rules\
**Created:** [August 31, 2017, 9:01pm UTC](https://community.auth0.com/t/sporadic-error-auth0-2-7-0-not-found-in-rules/8043 "2017-08-31T21:01:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@alex1](https://community.auth0.com/u/alex1)\
**Post date:** [August 31, 2017, 9:01pm UTC](https://community.auth0.com/t/sporadic-error-auth0-2-7-0-not-found-in-rules/8043/1 "2017-08-31T21:01:59Z")

</div>

In one of my rules, I have to use the auth0 2.7.0 library and use it like so:

```
var AuthenticationClient = require('auth0@2.7.0').AuthenticationClient;

```

However, I’m getting sporadic errors saying it cannot find that module. Has anyone else had this problem?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [August 31, 2017, 10:14pm UTC](https://community.auth0.com/t/sporadic-error-auth0-2-7-0-not-found-in-rules/8043/2 "2017-08-31T22:14:28Z")

</div>

As far as I’m aware, version [2.7.0 is still not available by default](https://tehsis.github.io/webtaskio-canirequire/#auth0) and as such it should not be used with rules or custom scripts (hooks would be an exception as they have the ability to specify a dependency on a given Node module). The fact that it worked some of the time is most likely an implementation detail that you should not depend on.

According to the link above `auth0@2.6.0` is available; did you have a strong requirement for 2.7.0 or can you review if 2.6.0 as the required feature set and works as expected all the time.

---

<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:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/sporadic-error-auth0-2-7-0-not-found-in-rules/8043/3 "2018-03-02T05:56:15Z")

</div>


