Hello, we are using InsightConnect ChatOps extension with Slack and there is no problem while sending messages, but when I add the Attachment JSON, I encounter the message “an unknown error occurred”. An example of the configuration I entered is as follows;
Attachment JSON:
[{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Alternative hotel options*"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "<https://example.com|Bates Motel> :star::star:"
},
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": "View",
"emoji": true
},
"value": "view_alternate_1"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "<https://example.com|The Great Northern Hotel> :star::star::star::star:"
},
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": "View",
"emoji": true
},
"value": "view_alternate_2"
}
}
]
}]
And other configs;
And output:
How can we solve this problem, I couldn’t find a detailed log about it?