Error when testing Lexbot with Kendra Search Intent

0

I receive the following error message when testing a Lexbot that contains a KendraSearchIntent. I followed this guide to add the intent to the bot. https://docs.aws.amazon.com/lex/latest/dg/faq-bot-kendra-search.html. Per guide, I used the built-in Kendra intent. In creating the intent, I chose Add Amazon Kendra permissions, to try to avoid permission issues. I didn't use any filters. In Closing response, I used only Kendra's standard responses, like x-amz-lex:kendra-search-response-question_answer-answer-1.

Any suggestions?

Error: { "errorMsg": "Invalid Bot Configuration: Amazon Lex could not access your Amazon Kendra index. There is a problem with your configuration. Check the configuration and try your request again." }

質問済み 2年前621ビュー
1回答
0
承認された回答

I found the answer to my question. The underlying reason for the error was that the assumed role that was creating the Lexbot intent did not have the ability to edit the IAM service role on the Lexbot.

After the assumed role (mine as the console user) was granted this permission, I recreated the KendraSearchIntent, and the Lex IAM service role was updated. The error no longer appears, and Lex can access the Kendra.

回答済み 2年前
profile picture
エキスパート
レビュー済み 10ヶ月前
  • can you please explain more the solution

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

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

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

関連するコンテンツ