# Auth0 Account Link error with importing modules

**URL:** <https://community.auth0.com/t/auth0-account-link-error-with-importing-modules/114153>\
**Category:** Get Help\
**Tags:** extensions, auth0-account-link\
**Created:** [August 21, 2023, 8:28pm UTC](https://community.auth0.com/t/auth0-account-link-error-with-importing-modules/114153 "2023-08-21T20:28:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![armando](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@armando](https://community.auth0.com/u/armando)\
**Post date:** [August 22, 2023, 1:43pm UTC](https://community.auth0.com/t/auth0-account-link-error-with-importing-modules/114153/2 "2023-08-22T13:43:25Z")

</div>

Manage to workaround this (other issues comes up)

```auto
function (user, context, callback) {
  /**
   * This rule has been automatically generated by
   * Unknown at 2023-08-21T18:29:51.731Z
   */
  //Removed: var request = require('request@2.56.0');
  var jwt = require('jsonwebtoken'); //Removed version targeting
  var queryString = require('querystring');
  var Promise = require('native-or-bluebird@1.2.0');

  var CONTINUE_PROTOCOL = 'redirect-callback';
  //...

```

Apparently `request` is embedded in the runtime environment, and `jsonwebtoken` will resolve needed/“working” versions.

Hope this helps. If anyone has any clue why is this happening (since still not deprecated), please reply

Will create a new thread and new issue with my other issue.

UPDATE: In the case of `request` you can just remove the version targeting and leave the line as

```js
var request = require('request');

```

---

_[View the full topic](https://community.auth0.com/t/auth0-account-link-error-with-importing-modules/114153)._
