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

[Bug]: Incorrect behavior when the nonexistent database name is supplied via the HTTP API #2892

Open
levand opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@levand
Copy link
Contributor

levand commented Oct 2, 2024

What happened?

When using the HTTP API on Chroma Cloud, if a user creates a collection via a POST to /api/v1/collections, but supplies a database parameter that doesn't actually exist (e.g. because of a typo), the request still returns successfully and presents a new collection ID.

However, the new collection doesn't actually exist and subsequent attempts to use the returned ID will fail.

Expected behavior is that the request return a 4XX error with a clear message indicating that the provided database does not exist.

Versions

Chroma Cloud staging

Relevant log output

No response

@levand levand added the bug Something isn't working label Oct 2, 2024
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

1 participant