SlackAskV2 Invalid Block Format

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

SlackAskV2 Invalid Block Format

L0 Member

Hi folks, 

i am new with XSOAR and i try to create an approval workflow with SlackAskV2. 

Of course i prefer the default resonse type with buttons. And here's my problem. It does not work in the playbook editor.
I always get the following error, when i try to run the playbook with default settings:

Reason
The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage) The server responded with: {'ok': False, 'error': 'invalid_blocks_format'}
 
In the war room on the cli, the same request works fine, without any errors.
Does anybody have an idea what i am doing wrong?

 
 
 
2 REPLIES 2

L4 Transporter

Hi @NDNico ,

 

Can you please provide the input for both Warroom and Playbook tasks? 

L0 Member

Thanks for your response. Here we go


Playbook:
!SlackAskV2 channel_id="C05J4B9CPTL" message="Wie lautet die Antwort?" option1="Yes" option2="No" task="AWAIT" persistent="false" responseType="buttons" reply="Thank you for your response." lifetime="1 day" defaultResponse="NoResponse" slackVersion="SlackV3" (Scripts[Scripts])

Warroom:
!SlackAskV2 channel_id="C05J4B9CPTL" message="Das ist die Frage, wie lautet die Antwort?" option1="Yes" option2="No" task="AWAIT" persistent="false" responseType="buttons" reply="Thank you for your response." lifetime="1 day" defaultResponse="NoResponse" slackVersion="SlackV3"

  • 970 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!