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

質問済み 2年前237ビュー
1回答
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
エキスパート
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ