# Cannot read property 'slice' of undefined

**URL:** <https://forums.rocket.chat/t/cannot-read-property-slice-of-undefined/10055>\
**Category:** Community Support\
**Created:** [January 18, 2021, 9:38am UTC](https://forums.rocket.chat/t/cannot-read-property-slice-of-undefined/10055 "2021-01-18T09:38:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thron](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@thron](https://forums.rocket.chat/u/thron)\
**Post date:** [January 18, 2021, 9:38am UTC](https://forums.rocket.chat/t/cannot-read-property-slice-of-undefined/10055/1 "2021-01-18T09:38:43Z")

</div>

### Description

### Server Setup Information

- Version of Rocket.Chat Server: 3.10.4

- Operating System: Ubuntu 20.04 LTS

- Deployment Method: manuall installation

- Number of Running Instances: 1

- DB Replicaset Oplog: 200

- NodeJS Version: v12.18.4

- MongoDB Version: 4.0.22

- Proxy: Running behind a nginx SSL Reverse Proxy

- Firewalls involved:

Hi there,  
I get the error message: “cannot read property ‘slice’ of undefined” when I want to send a message from the web interface. It doesn’t matter which channel I use. When I send a message from the app, only an empty field appears in the chat.

Does anyone have any idea why this is?

many Greetings  
Sascha

---

<div class="post-metadata">

**Author:** ![ktarlov](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@ktarlov](https://forums.rocket.chat/u/ktarlov)\
**Post date:** [June 16, 2021, 7:08am UTC](https://forums.rocket.chat/t/cannot-read-property-slice-of-undefined/10055/2 "2021-06-16T07:08:07Z")

</div>

> [@thron](#):
>
> Proxy: Running behind a nginx SSL Reverse Proxy

We are having the same issue. Can someone help?

---

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [June 16, 2021, 8:49am UTC](https://forums.rocket.chat/t/cannot-read-property-slice-of-undefined/10055/3 "2021-06-16T08:49:21Z")

</div>

> [@ktarlov](#):
>
> We are having the same issue. Can someone help?

Is this related EXACTLY? Or is it a bit different?

Please read this and provide some information on your server and your exact error.

> <https://gist.github.com/reetp/a66149d5f060f260643a353ca7067a98>
