Hi Guys,
I am trying to creating a playbook with slack integration to send interactive messages to a channel. For sending the data i am using slack blocks (To build the blocks i have used slack block kit builder). But i am getting below error.
I was wondering if anyone in the community has encountered a similar issue in the past and could offer some guidance or insight on how to resolve it. Any help or advice would be greatly appreciated.
Thank you in advance for your time and assistance.
I have tried some solutions from stackoverflow. but could'nt get passed through the error
Message paraneter value: (in Block Code):
{
"blocks": [
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Risky:* \n *IP Addresses*: "
}
]
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"emoji": true,
"text": "close the case"
},
"style": "primary",
"value": "Close_case"
},
{
"type": "button",
"text": {
"type": "plain_text",
"emoji": true,
"text": "Isolate the User"
},
"style": "danger",
"value": "isolate_user"
}
]
}
]
}
Hey!
[{"type": "actions","elements": [{"type": "button","text": {"type": "plain_text","text": "Button"},"url": "https://www.google.com"}]}]
Put everything on one single line within the message block field and follow the above syntax. I have been having the same issue and the above seemed to solve it.
Hope this helps!