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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南