Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating knowledge base #1

Open
intgpath opened this issue Dec 7, 2023 · 3 comments
Open

Error when creating knowledge base #1

intgpath opened this issue Dec 7, 2023 · 3 comments

Comments

@intgpath
Copy link

intgpath commented Dec 7, 2023

Getting this error when i tried creating knowledge base

Failed to generate Amazon Opensearch Serverless vector database: Policy json is invalid, error: [$[0].Principal[1]: does not match the regex pattern ^saml/[0-9]{12}/[a-z][a-z0-9-]+/(user|group)/.{1,60}$, $[0].Principal[1]: does not match the regex pattern ^arn:(?:aws|aws-cn|aws-us-gov):iam::\d{12}:(user|role)(/[\w+=,.@-]+)*/[\w+=,.@-]{1,64}$, $[0].Principal[1]: does not match the regex pattern ^arn:(?:aws|aws-cn|aws-us-gov):sts::\d{12}:assumed-role/[\w+=,.@-]{1,64}/([\w+=,.@-]{2,64}|[\w+=,.@-]{0,63}*)$]

The knowledge base storage configuration provided is invalid... Request failed: [security_exception] all shards failed

@minorun365
Copy link

Me too. I wonder why such error occurs even when I tried to create brand-new knowledge bases with default settings of auto creation for AOSS collection.

@minorun365
Copy link

I solved this issue by signing out from the management console and re-sign in.
It may be bug of knowledge bases console...

@riolaf05
Copy link

I'm having the same error even creating the knowledge base from the aws console ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants