Closed rmens closed 9 months ago
Thanks for reporting - sounds like it's hitting a Slack limit. We'll add a ticket to our backlog to confirm
Hello, I looked into this and tested out posting a long comment to Slack from Coral. I was able to successfully send a comment with 1800 words/11000 characters to a Slack channel when using the text
data variable in my workflow. Slack’s docs say that they support up to 40000 characters here (https://api.slack.com/methods/chat.postMessage#truncating).
However, for section blocks text fields, Slack says they support up to 3000 characters (https://api.slack.com/reference/block-kit/blocks#section). Perhaps this is the issue you are running into. We can update to truncate the text sent through there to less than 3000 characters so that it shouldn’t hit the limit in this case. I have opened this PR to address this: https://github.com/coralproject/talk/pull/4392
Fixed in the latest release: https://github.com/coralproject/talk/releases/tag/v8.6.3 Thanks for reporting!
We had a comment containing 1201 words (6130 characters) that wasn't posted to Slack to be moderated. The length seems to trigger an error:
Slack trace
Expected behavior: All comments to be posted to Slack.
Actual behavior: Long comment not posted.
Version: Coral 8.5.0.