As of version 0.21.4, Slash commands do not work correctly in socket mode (resulting in "dispatch failed" in the client). This is a regression since version 0.21.3.
Expected behavior
Slash commands should work correctly in all versions.
Steps to reproduce
When using Socket mode on a non-enterprise instance, this is the payload when typing /mycommand foobar (with lots of redactions):
The problem here is that https://github.com/slack-go/slack/pull/1255 adds a new IsEnterpriseInstall field with type boolean, whereas in the payload this is a string (e.g. "false"). Therefore the parsing of the JSON fails and the slash command handlers don't ever get invoked.
What happened
As of version 0.21.4, Slash commands do not work correctly in socket mode (resulting in "dispatch failed" in the client). This is a regression since version 0.21.3.
Expected behavior
Slash commands should work correctly in all versions.
Steps to reproduce
When using Socket mode on a non-enterprise instance, this is the payload when typing
/mycommand foobar
(with lots of redactions):The problem here is that https://github.com/slack-go/slack/pull/1255 adds a new
IsEnterpriseInstall
field with type boolean, whereas in the payload this is a string (e.g."false"
). Therefore the parsing of the JSON fails and the slash command handlers don't ever get invoked.reproducible code
manifest.yaml
Versions