# Attempt to recreate deleted chat channel with same name fails

**URL:** https://meta.discourse.org/t/attempt-to-recreate-deleted-chat-channel-with-same-name-fails/248870
**Category:** Bug
**Tags:** chat
**Created:** [December 13, 2022, 11:26pm UTC](https://meta.discourse.org/t/attempt-to-recreate-deleted-chat-channel-with-same-name-fails/248870 "2022-12-13T23:26:31Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [December 14, 2022, 2:41am UTC](https://meta.discourse.org/t/attempt-to-recreate-deleted-chat-channel-with-same-name-fails/248870/2 "2022-12-14T02:41:40Z")

</div>

I’m able to reproduce this:

1. create a chat channel named “foo”
2. delete it
3. try to create another chat channel named “foo”

UI doesn’t give any feedback.

In Chrome dev tools, I see a PUT request to `/chat/chat_channels` has returned a `500`

Workaround:

1. Create new channel with a different name (e.g. “foo2”)
2. Edit channel and set name to “foo”

---

_[View the full topic](https://meta.discourse.org/t/attempt-to-recreate-deleted-chat-channel-with-same-name-fails/248870)._
