Skip to content

Error when creating knowledge base #1

Open
@intgpath

Description

@intgpath

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions