# Getting 422\_client\_error when using slash commands in private channels

**URL:** https://meta.discourse.org/t/getting-422-client-error-when-using-slash-commands-in-private-channels/84556
**Category:** Support
**Tags:** chat-integration
**Created:** [4월 4, 2018, 11:05오전 UTC](https://meta.discourse.org/t/getting-422-client-error-when-using-slash-commands-in-private-channels/84556 "2018-04-04T11:05:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rkda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rkda/32/120046_2.png) [@rkda](https://meta.discourse.org/u/rkda)
#### Post date: [4월 4, 2018, 11:05오전 UTC](https://meta.discourse.org/t/getting-422-client-error-when-using-slash-commands-in-private-channels/84556/1 "2018-04-04T11:05:23Z")

</div>

I just added the chat-integration plugin (awesome plugin btw 😃 ) and configured it to work with our team’s Slack. Everything’s working fine except for the slash commands. I can’t seem to use them when I’m in private channels. The slash commands fail and I get this error:

> Darn - that slash command didn’t work (error message: `422_client_error`). Manage the command at Microsat Discourse Bot.

Is this the expected behaviour or is there something wrong with my configuration? I’m using the OAth token. The slash commands work fine on public channels.

---

<div class="post-metadata">

### Author: ![swarnava](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swarnava/32/120151_2.png) [@swarnava](https://meta.discourse.org/u/swarnava)
#### Post date: [4월 4, 2018, 11:12오전 UTC](https://meta.discourse.org/t/getting-422-client-error-when-using-slash-commands-in-private-channels/84556/2 "2018-04-04T11:12:25Z")

</div>

Hey there,

Here is a quick workaround which might be helpful for you.

> [@Topics do not appear in the specified Slack channel](https://meta.discourse.org/t/topics-do-not-appear-in-the-specified-slack-channel/75484/7):
>
> For now, a workaround is that you can use the discourse admin interface to configure rules, rather than slash commands. Go to admin —\> plug-ins —\> chat integrations —\> slack

> [@Topics do not appear in the specified Slack channel](https://meta.discourse.org/t/topics-do-not-appear-in-the-specified-slack-channel/75484/9):
>
> Rule configuration is not under “site settings”, it has its own area. Click the “plugins” tab at the top of the screen, and then “chat integrations” on the left.

---

<div class="post-metadata">

### Author: ![rkda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rkda/32/120046_2.png) [@rkda](https://meta.discourse.org/u/rkda)
#### Post date: [4월 4, 2018, 11:28오전 UTC](https://meta.discourse.org/t/getting-422-client-error-when-using-slash-commands-in-private-channels/84556/3 "2018-04-04T11:28:16Z")

</div>

Thanks! Would you know what settings to set in the Discourse admin interface? I have already configured the rules and I can receive the Slack notifications just fine. I just can’t use the slash commands.

Btw, my main motivation for making the slash commands work is so I can post transcripts of Slack conversations to Discourse via the `/discourse post` command.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [9월 28, 2020, 9:23오후 UTC](https://meta.discourse.org/t/getting-422-client-error-when-using-slash-commands-in-private-channels/84556/4 "2020-09-28T21:23:08Z")

</div>


