# Failed to load resource: the server responded with a status of 422

**URL:** <https://meta.discourse.org/t/failed-to-load-resource-the-server-responded-with-a-status-of-422/249629>\
**Category:** Bug\
**Tags:** chat\
**Created:** [December 21, 2022, 10:57pm UTC](https://meta.discourse.org/t/failed-to-load-resource-the-server-responded-with-a-status-of-422/249629 "2022-12-21T22:57:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hiddenseal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hiddenseal/32/284273_2.png) [@hiddenseal](https://meta.discourse.org/u/hiddenseal)\
**Post date:** [December 21, 2022, 10:57pm UTC](https://meta.discourse.org/t/failed-to-load-resource-the-server-responded-with-a-status-of-422/249629/1 "2022-12-21T22:57:32Z")

</div>

Some of my users get a generic “There is an error” message when they try to join new channels.

As that happens, an error in console is reported:

> Failed to load resource: the server responded with a status of 422

Which refers to this URL `https://domain.com/chat/chat_channels/ID/follow.json` where ID is the chat ID.

That “.json” file contains:

```plaintext
{
    "errors": [
        "Slug is invalid"
    ],
    "error_type": "record_invalid"
}

```

My best guess is that it has to do with the fact that the chat name contains Cyrillic characters. When I try to rename that channel to have an English name, it gives the error “the slug is invalid” and doesn’t allow me to change it into anything. The chat has a URL `https://domain.com/chat/channel/ID/-ID`

---

_[View the full topic](https://meta.discourse.org/t/failed-to-load-resource-the-server-responded-with-a-status-of-422/249629)._
