The user rkda is experiencing an issue with the chat-integration plugin, specifically with slash commands in private Slack channels, resulting in a 422_client_error. The commands work fine in public channels. swarnava provided a potential workaround, linking to relevant discussions on Meta Discourse. rkda is looking for more specific guidance on configuring settings in the Discourse admin interface to resolve the issue, as their primary goal is to use the /discourse post command to post Slack conversation transcripts to Discourse.
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.
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.