# Chat webhook באג אפשרי - מוקצה, אבל ה-webhook הוא nil

**URL:** <https://meta.discourse.org/t/chat-webhook-possible-bug-delegated-but-webhook-is-nil/273209>\
**Category:** Bug\
**Tags:** chat\
**Created:** [29 ביולי,‏ 2023,‏ 4:21am UTC](https://meta.discourse.org/t/chat-webhook-possible-bug-delegated-but-webhook-is-nil/273209 "2023-07-29T04:21:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [15 באוגוסט,‏ 2023,‏ 1:38pm UTC](https://meta.discourse.org/t/chat-webhook-possible-bug-delegated-but-webhook-is-nil/273209/4 "2023-08-15T13:38:25Z")

</div>

Great catch thanks 👍

This will be fixed in:

[https://github.com/discourse/discourse/pull/23097](https://github.com/discourse/discourse/pull/23097)

Note, this is only preventing the error to happen, if you are already in this state you have two solutions for now:

- create a new channel
- manually delete the orphaned records of `chat_webhook_events`

Given I had only one report of this Im not providing anything to handle this, but if there are cases I will assist.

---

_[View the full topic](https://meta.discourse.org/t/chat-webhook-possible-bug-delegated-but-webhook-is-nil/273209)._
