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:
{
"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