# Error 500 when deleting environments

**URL:** <https://openziti.discourse.group/t/error-500-when-deleting-environments/6049>\
**Category:** zrok\
**Created:** [September 6, 2026, 9:47am UTC](https://openziti.discourse.group/t/error-500-when-deleting-environments/6049 "2026-09-06T09:47:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiperKot007](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/giperkot007/32/4327_2.png) [@GiperKot007](https://openziti.discourse.group/u/GiperKot007)\
**Post date:** [September 6, 2026, 9:47am UTC](https://openziti.discourse.group/t/error-500-when-deleting-environments/6049/1 "2026-09-06T09:47:57Z")

</div>

![zrok admin](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/2X/e/ed65413028490ed4d6434e0976f9bff25399dd39.png)

 ![error 500](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/2X/1/18b1f5292078172c2d7dc6310776df589c016969.png)

Error 500 when deleting environments

I can't delete some environments I don't need through the web admin panel. Error 500 occurs.

---

<div class="post-metadata">

**Author:** ![GiperKot007](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/giperkot007/32/4327_2.png) [@GiperKot007](https://openziti.discourse.group/u/GiperKot007)\
**Post date:** [September 12, 2026, 9:09pm UTC](https://openziti.discourse.group/t/error-500-when-deleting-environments/6049/2 "2026-09-12T21:09:27Z")

</div>

I’m bumping this thread. I still can't delete the corrupted environments from my account; I keep getting a "request failed (500)" error. Please help me delete the corrupted environments.

---

<div class="post-metadata">

**Author:** ![mguthrie88](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/mguthrie88/32/151_2.png) [@mguthrie88](https://openziti.discourse.group/u/mguthrie88)\
**Post date:** [September 16, 2026, 2:49pm UTC](https://openziti.discourse.group/t/error-500-when-deleting-environments/6049/3 "2026-09-16T14:49:09Z")

</div>

Hi There, I'll try to get this fixed up today so you can delete the environment and recreate as you need to. The delete attempt previously failed mid-transaction, so the environment is in a weird state.

---

<div class="post-metadata">

**Author:** ![GiperKot007](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/giperkot007/32/4327_2.png) [@GiperKot007](https://openziti.discourse.group/u/GiperKot007)\
**Post date:** [September 16, 2026, 8:14pm UTC](https://openziti.discourse.group/t/error-500-when-deleting-environments/6049/4 "2026-09-16T20:14:09Z")

</div>

I only have 4 corrupted environments there. Delete them (root@0c61c78dd402, root@1be2157247d2, root@5a19b1f75926, root@0c61c78dd402).

---

<div class="post-metadata">

**Author:** ![mguthrie88](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/mguthrie88/32/151_2.png) [@mguthrie88](https://openziti.discourse.group/u/mguthrie88)\
**Post date:** [September 16, 2026, 8:33pm UTC](https://openziti.discourse.group/t/error-500-when-deleting-environments/6049/5 "2026-09-16T20:33:21Z")

</div>

These should be cleaned up now, but let me know if otherwise.
