Error when using Amazon Lex chatbot with Amazon Kendra on the AWS Cloud Quick Start Reference Deployment

0

When using the quick start at the link below, I receive an error message when I use the testing phrase provided in the documentation. What could be causing this error?

Quick start: https://aws-quickstart.github.io/quickstart-quantiphi-lex-kendra-backend/

Kendra intent testing phrase: "What preventive measures can I take"

Error:

An error has occurred: 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.
  • did you reach out a solution for this problem ?

asked 2 years ago663 views
1 Answer
0

Hi, thank you for reaching out! This could be a few things. Did you enter your kendra index name correctly? If yes, are you using a custom role, or Service-Linked Role for your bot? Maybe they are missing the permissions necessary for Lex to query your Kendra index.

Checkout this section for how to set up permissions: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-intent-kendra-search.html#kendra-search-iam

Mathilda

AWS
answered 2 years ago
  • I tried your proposal but in vain

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions