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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠