# Receiving error 500 on origin delete

**URL:** <https://discourse.chef.io/t/receiving-error-500-on-origin-delete/18916>\
**Category:** Habitat Help\
**Created:** [April 16, 2019, 2:19am UTC](https://discourse.chef.io/t/receiving-error-500-on-origin-delete/18916 "2019-04-16T02:19:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pketienne\_1](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/pketienne_1/32/3067_2.png) [@pketienne\_1](https://discourse.chef.io/u/pketienne_1)\
**Post date:** [April 16, 2019, 2:19am UTC](https://discourse.chef.io/t/receiving-error-500-on-origin-delete/18916/1 "2019-04-16T02:19:52Z")

</div>

Greetings habi-taters (insert spud emoji here),

I’m attempting to troubleshoot an issue I’m encountering with the `hab` executable and an origin on `bldr.habitat.sh`. When executing `hab origin delete {origin-name}` I receive the following:

(`hab origin delete` is a new feature implemented in 0.79.0)

```auto
☒ Deleting origin {origin-name}.
✗✗✗
✗✗✗ [500 Internal Server Error]
✗✗✗

```

The origin is empty of all content (save for the record of previous builds). I have since been able to create a new origin under my account and delete it successfully with the same `hab origin delete {origin-name}` command. I’ve considered creating an issue at `https://github.com/habitat-sh/builder/issues` but am posting here first.

Any tips, hints, or suggestions would be greatly appreciated!

Cheers!

---

<div class="post-metadata">

**Author:** ![Salim\_Alam](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Salim\_Alam](https://discourse.chef.io/u/Salim_Alam)\
**Post date:** [April 16, 2019, 11:36pm UTC](https://discourse.chef.io/t/receiving-error-500-on-origin-delete/18916/2 "2019-04-16T23:36:23Z")

</div>

Thanks for the report! Opening an issue on the builder repo would be great so we can get it into the backlog for a fix (we should not be returning error 500). If you could include the specific sequence of steps to repro the problem that would be very helpful as well!

---

<div class="post-metadata">

**Author:** ![pketienne\_1](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/pketienne_1/32/3067_2.png) [@pketienne\_1](https://discourse.chef.io/u/pketienne_1)\
**Post date:** [April 17, 2019, 2:07am UTC](https://discourse.chef.io/t/receiving-error-500-on-origin-delete/18916/3 "2019-04-17T02:07:56Z")

</div>

Thanks salam,

I’ve created the following bug report: [https://github.com/habitat-sh/builder/issues/1031](https://github.com/habitat-sh/builder/issues/1031)

Cheers,

- pketienne
