AWS LexV2 CDK/CloudFormation error when using Image Response Cards
0
I am deploying a Lex V2 bot with AWS CDK and want my bot to have buttons for eliciting slots, but for some reason I get an error:
DevBot Resource handler returned message:
"Importing CDK-DevBot failed due to [There was an error importing the bot.
Make sure that the imported bot and contents of the zip file are correct, then try your request again.].
The import could not be completed."
(RequestToken: ebd3354f-6169-922a-d0f9-d14690671e25, HandlerErrorCode: InvalidRequest)
The relevant part of the CloudFormation
template: "Message"
"MessageGroupsList: [{
"Message": {
"ImageResponseCard": {
"Buttons": [
{
"Text": "1.0.3",
"Value": "1.0.3"
},
{
"Text": "1.0.5",
"Value": "1.0.5"
}
],
"Title": "Title"
},
"PlainTextMessage": {
"Value": "Please enter the issue number"
}
}
}]
If I remove "ImageResponseCard"
then it deploys okay. Otherwise, I get the error.
Has anybody else had this problem and found a way to overcome it?
asked 2 months ago9 views
1 Answers
1
Hi. Thank you for reaching out for this issue. We are aware that there is an issue integrating a Lex Bot with ImageResponseCard settings in CFN and we are actively tracking the fix.
answered 2 months ago
Relevant questions
Is there a way to grab a user's voice utterance from an Amazon Lex V2 bot using Lambda calls?
asked 2 months agoAWS LexV2 CDK/CloudFormation error when using Image Response Cards
asked 2 months agoConnect does not find Lex bot for user prompt
asked 3 months agoDelete BotAlias created in Amazon Lex.
asked 2 months agoLex Automated Designer - Internal Error
asked 3 months agoLex Slack Integration - responding to Slack's app_mention event
Accepted Answerasked 6 months agoError on creating intent after createbotlocale
asked 4 months agoGet Customer Input block throws error when using Lex as customer input
asked 2 months agoLex Internal Server Error (deployed from Terraform)
asked 5 months agoV2 Lex OrderFlowers Blueprint Lambda Error
asked 16 days ago