# I'm unable to uninstall Authorization extension and get Internal Server Error

**URL:** <https://community.auth0.com/t/im-unable-to-uninstall-authorization-extension-and-get-internal-server-error/6136>\
**Category:** Get Help\
**Tags:** uninstalling-extensi, authorization-extens\
**Created:** [April 6, 2017, 9:20pm UTC](https://community.auth0.com/t/im-unable-to-uninstall-authorization-extension-and-get-internal-server-error/6136 "2017-04-06T21:20:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yudielcurbelo](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@yudielcurbelo](https://community.auth0.com/u/yudielcurbelo)\
**Post date:** [April 6, 2017, 9:20pm UTC](https://community.auth0.com/t/im-unable-to-uninstall-authorization-extension-and-get-internal-server-error/6136/1 "2017-04-06T21:20:06Z")

</div>

Please follow this link to see what is going on. [Imgur: The magic of the Internet](http://i.imgur.com/tTDNlVR.gifv)

```
{
    "date": "2017-04-04T01:50:19.371Z",
    "type": "feccft",
    "description": "Unauthorized",
    "connection_id": "",
    "client_id": "45FZpUyxkv3xXx1V2FFXjuECkUxxVDuK",
    "client_name": null,
    "ip": "54.67.15.170",
    "user_agent": "node-superagent/2.3.0",
    "user_id": "",
    "user_name": "",
    "audience": "https://yudiel.auth0.com/api/v2/",
    "scope": null
    }

```

Chrome Network Tab = \> [http://imgur.com/bu0E7xG](http://imgur.com/bu0E7xG)

---

<div class="post-metadata">

**Author:** ![Anny](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anny/32/13140_2.png) [@Anny](https://community.auth0.com/u/Anny)\
**Post date:** [April 6, 2017, 9:48pm UTC](https://community.auth0.com/t/im-unable-to-uninstall-authorization-extension-and-get-internal-server-error/6136/2 "2017-04-06T21:48:58Z")

</div>

Hi,

One of the most frequent reasons why this happens is because the client that the Authorization Extension creates, `auth0-authz`, was deleted. It shouldn’t be deleted, as explained in our [documentation](https://auth0.com/docs/extensions/authorization-extension#how-to-install).

To fix this issue, the Authorization Extension has to be removed by deleting the webtask it creates.

- Go to [Account Settings - Webtasks](https://manage.auth0.com/#/account/webtasks), follow the instructions to install `wt-cli` and set it up. (Step 1 and 2)
- (Optional) List the extensions you have installed by using `wt ls -p {tenant-profile}`. The tenant profile is usually “your-tenant-default” and it’s established when you’re setting up `wt`.
- Use `wt rm {extension-hash} -p {tenant-profile}` to remove the extension. The hash of the Authorization Extension is `adf6e2f2b84784b57522e3b19dfc9201`.

After doing this you can reinstall the extension if needed. Please make sure that the client `auth0-authz` is not deleted, it will be removed automatically if you uninstall the extension.

Regards,

---

<div class="post-metadata">

**Author:** ![yudielcurbelo](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@yudielcurbelo](https://community.auth0.com/u/yudielcurbelo)\
**Post date:** [April 7, 2017, 12:51am UTC](https://community.auth0.com/t/im-unable-to-uninstall-authorization-extension-and-get-internal-server-error/6136/3 "2017-04-07T00:51:28Z")

</div>

It worked, thank you.

---

<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:53am UTC](https://community.auth0.com/t/im-unable-to-uninstall-authorization-extension-and-get-internal-server-error/6136/4 "2018-03-02T05:53:08Z")

</div>


