# Closing Live Chat Session Error "undefined"

**URL:** <https://forums.rocket.chat/t/closing-live-chat-session-error-undefined/14435>\
**Category:** Community Support\
**Created:** [July 6, 2022, 10:05am UTC](https://forums.rocket.chat/t/closing-live-chat-session-error-undefined/14435 "2022-07-06T10:05:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erik.test](https://avatars.discourse-cdn.com/v4/letter/e/9fc29f/32.png) [@erik.test](https://forums.rocket.chat/u/erik.test)\
**Post date:** [July 6, 2022, 10:05am UTC](https://forums.rocket.chat/t/closing-live-chat-session-error-undefined/14435/1 "2022-07-06T10:05:44Z")

</div>

### Description

Since Upgrade to 4.8.1 i cant close any livechat session anymore:

 ![grafik](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/8/81fc9e9e5830760162db8937537ebe4edb4d278a.png)

and i cant find any issue in logs… does someone have a idea?

### Server Setup Information

- Version of Rocket.Chat Server: 4.8.1
- Operating System: Linux
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 14.18.3
- MongoDB Version: 4.2.17
- Proxy: caddy
- Firewalls involved: pfsense

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [July 6, 2022, 4:24pm UTC](https://forums.rocket.chat/t/closing-live-chat-session-error-undefined/14435/2 "2022-07-06T16:24:47Z")

</div>

Hi!

This is a known bug that will be fixed in the upcoming 5 version: [[FIX] Unable to close chats when comments is disabled by murtaza98 · Pull Request #26057 · RocketChat/Rocket.Chat · GitHub](https://github.com/RocketChat/Rocket.Chat/pull/26057)

As a workaround, you can enable the requirement for a comment on close, in Admin \> Omnichannel \> Request comment when closing conversation

Please, consider joining our [beta testers program](https://open.rocket.chat/channel/beta-testers), so we can identify bugs at release candidates.

Right now we are at the 5.0.0-rc.1:

> **[Release 5.0.0-rc.1 · RocketChat/Rocket.Chat](https://github.com/RocketChat/Rocket.Chat/releases/tag/5.0.0-rc.1)**
>
> 2022-07-06 · 11 🔍 · 9 👩‍💻👨‍💻
> 
> 🔍 Minor changes
> 
> 
> Chore: Change stats to daily (#26113)
> 
> 
> Regression: \[VideoConference\] Callee client behaves improperly when accepting a call from someone who los...
