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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠