# How to delete scripts with errors?

**URL:** https://community.dremio.com/t/how-to-delete-scripts-with-errors/10185
**Category:** Uncategorized
**Created:** [January 17, 2023, 7:43am UTC](https://community.dremio.com/t/how-to-delete-scripts-with-errors/10185 "2023-01-17T07:43:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nikhil.makan](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@nikhil.makan](https://community.dremio.com/u/nikhil.makan)
#### Post date: [January 17, 2023, 7:43am UTC](https://community.dremio.com/t/how-to-delete-scripts-with-errors/10185/1 "2023-01-17T07:43:12Z")

</div>

Hi All, some of my scripts appear to get corrupted if I delete the source or a VDS gets deleted that it was referring to. I would like to delete these, but the moment I click the 3 dots next to the script I get this error and have to refresh the whole page.

![image](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/a/a9931eef6f1f7cb1da918057bc603e299a813b40.png)

Any other ways to delete scripts?

---

<div class="post-metadata">

### Author: ![Danish\_Khan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/danish_khan/32/4702_2.png) [@Danish\_Khan](https://community.dremio.com/u/Danish_Khan)
#### Post date: [January 20, 2023, 3:08am UTC](https://community.dremio.com/t/how-to-delete-scripts-with-errors/10185/2 "2023-01-20T03:08:09Z")

</div>

Which version are you on?

---

<div class="post-metadata">

### Author: ![nikhil.makan](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@nikhil.makan](https://community.dremio.com/u/nikhil.makan)
#### Post date: [January 20, 2023, 3:31am UTC](https://community.dremio.com/t/how-to-delete-scripts-with-errors/10185/3 "2023-01-20T03:31:41Z")

</div>

Hi @Danish_Khan I believe it is v22.

---

<div class="post-metadata">

### Author: ![Danish\_Khan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/danish_khan/32/4702_2.png) [@Danish\_Khan](https://community.dremio.com/u/Danish_Khan)
#### Post date: [January 20, 2023, 9:36pm UTC](https://community.dremio.com/t/how-to-delete-scripts-with-errors/10185/4 "2023-01-20T21:36:34Z")

</div>

Hi Nikhil,

This issue is fixed in Dremio CE 23, you can upgrade to 23 and that will fix this issue.

---

<div class="post-metadata">

### Author: ![nikhil.makan](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@nikhil.makan](https://community.dremio.com/u/nikhil.makan)
#### Post date: [January 22, 2023, 8:51pm UTC](https://community.dremio.com/t/how-to-delete-scripts-with-errors/10185/5 "2023-01-22T20:51:43Z")

</div>

Thanks, I will give that a go.
