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.

preguntada hace 2 años369 visualizaciones
1 Respuesta
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

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas