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."

feita há 2 anos238 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas