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 Building Component Error building Component Astra DB: {"errors":[{"message":"Request invalid: field 'command.name' value \"english-test\" not valid. Problem: must match \"[a-zA-Z][a-zA-Z0-9_]*\".","errorCode":"COMMAND_FIELD_INVALID"}]} #2193

Closed
nguyenlykhanhlinh opened this issue Jun 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nguyenlykhanhlinh
Copy link

Describe the bug
i build flow chat with pdf file use astradb and after run i get error as image, support me !!!

Browser and Version

  • Browser [chrome]
  • Version [v1.0.0a59]

Screenshots
image

@dosubot dosubot bot added the bug Something isn't working label Jun 17, 2024
Copy link

dosubot bot commented Jun 17, 2024

To resolve the error indicating that the Collection Name in the Astra DB component is invalid due to not matching the required pattern [a-zA-Z][a-zA-Z0-9_]*, you need to ensure that the collection_name parameter adheres to this pattern. The pattern specifies that the collection name must start with a letter (either uppercase or lowercase) and can be followed by letters, digits, or underscores.

Here is an example of a valid collection_name:

collection_name = "MyCollection1"

And here is an example of an invalid collection_name:

collection_name = "1InvalidCollection"

Make sure your collection_name follows the pattern [a-zA-Z][a-zA-Z0-9_]*. For instance:

collection_name = "Valid_Collection123"

This should resolve the error you're encountering [1].

To continue talking to Dosu, mention @dosu.

@nicoloboschi
Copy link
Collaborator

Collection with dashes are not supported by AstraDB. Use the underscore as words separator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants