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

Failed to create collection on ChromaVectorStore #1457

Open
NineWoranop opened this issue Oct 3, 2024 · 0 comments
Open

Failed to create collection on ChromaVectorStore #1457

NineWoranop opened this issue Oct 3, 2024 · 0 comments

Comments

@NineWoranop
Copy link

Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create.
If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections:

Bug description
I'm developing the local ChromaDB on my docker.
However, it always failed to start Spring AI on afterPropertiesSet method in ChromaVectorStore.
It throws 400 from my local ChromaDB.
After I put try/catch block on this code, it solved. When existing code try to find existing collection name and it got an HttpClientErrorException with 400 bad request.

Could you please consider this fix?
image

This is the error:
org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request: "{"error":"InvalidCollection","message":"Collection SpringAiCollection does not exist."}"
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:103) ~[spring-web-6.1.6.jar:6.1.6]

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

1 participant