An error has occurred: The server encountered an error processing the Lambda response

0

Using Lex V1 Console and python 3.7 (for studying purposes), trying to build a bot with Lambda. Successfully tested all events along with python codes but can't seems to work. Bot was successfully build too but when I try to test it, as soon as I input the 1st utterance, it responded "An error has occurred: The server encountered an error processing the Lambda response."

preguntada hace 2 años238 visualizaciones
1 Respuesta
0

Hi,

please check that your Lambda function response matches the expected format: https://docs.aws.amazon.com/lex/latest/dg/lambda-input-response-format.html#using-lambda-response-format.

You can also look at the following gist that provides a sample implementation and some utility functions https://gist.github.com/alexcasalboni/3ea2d8dda11c6b73bbf98adf2dd6a214

Feel free to post a sample response in case you still cannot solve the issue, taking care of removing any sensitive information.

Cheers,

Massimiliano

AWS
EXPERTO
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