AWS Lex response from Lamda

0

HI, when i send message response content type as ImageResponseCard from lambda to lex like shown below:

"messages": [ { "contentType": "ImageResponseCard", "content": "string", "imageResponseCard": { "title": "string", "subtitle": "string", "imageUrl": "string", "buttons": [ { "text": "string", "value": "string" } ] } } ]

It throws error like :"Invalid Lambda Response: Lambda response did not provide a message and no prompts were configured", and i cant able to send imageResponsecard as a message but when i send plainText as the response it is displaying in lex from lambda

It was working fine before lex update on aug17 after update when we create new bot and invoke the lambda on fulfillment it shows error like this.

已提问 2 年前369 查看次数
1 回答
0

Hi there,

I would suggest configuring the imageResponseCard in the lex console, but here is the documentation on the ResponseCards hopefully this will guide you in the right direction.

Regards NN

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则