Closed noy-duany closed 2 months ago
Hi @noy-duany, thanks for asking the question!
Since the request validation for Slack event payload requires no modification of the text request body, you cannot use Spring's request parser for the endpoint. This means @RequestParam
etc. never works in many patterns.
For this reason, please use the base servlet class (com.slack.api.bolt.jakarta_servlet.SlackAppServlet
or com.slack.api.bolt.servlet.SlackAppServlet
) we provide instead.
For more detailed information, here are helpful resources:
We don't have anything further to share on this, so let me close this issue now. Thanks again for posting the question!
Hi all,
I have slack app and I'm using interactivity feature.
I have a button and a restapi accepting the requests, and I'm using slack sdk to verify the message came from slack.
I'm facing a problem - the verification fails in case the message have (bold) text inside, but when I remove the , it works.
Why does it happens?
This is the code. I'm using Java with Spring.
Thanks!