[BUG] Slack tool fails to read messages after configuring connection
Describe the bug Slack tool throws "Slack message reading failed" after proper configuring the connection and selecting a public or private channel where the bot is invited and token is introduced. Also to use private channels, one must manually enter ID, it is not list by default on the dropdown (or it is cached somehow and the list does not refresh).
To Reproduce Steps to reproduce the behavior:
- Start from scratch
- Add slack tool
- Configure bot connection with token or connect with simstudio default bot. On slack, invite the bot to a public/private channel and make sure you can read messages using just Slack API to confirm its working.
- Run the flow to read messages from a channel that you know you can because you manually tested the API outside sim studio.
Expected behavior The tool outputs the messages from the channel
Screenshots Using default bot
Using my app
Additional context While testing this, In one of the many tries I used a custom channel ID (a private channel with bot instaled), and selected WRITE operation, which also fails, and in that one time it worked, however, it wrote to a #general public channel instead of my channel ID one, so it may be another related issue