You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 #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
Go: 1.22.0
slack-go/slack: 0.21.4
The text was updated successfully, but these errors were encountered:
kpaulisse
changed the title
Release 0.21.4 breaks slash commands in websocket mode
Release 0.21.4 breaks slash commands in socket mode
Feb 20, 2024
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 #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
The text was updated successfully, but these errors were encountered: