You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ChromaDB.Client.ChromaException: Unexpected status code: MethodNotAllowed. #79
Activity
jeremiahhuang commentedon Apr 13, 2025
There is a mismatch occuring. If you run in docker via:
docker run -v ./chroma-data:/data -p 8000:8000 chromadb/chroma
go to localhost:8000/docs and you'll notice they are all v2 api calls.
if you run pip install chromadb then "chroma run" you'll see v1 api calls in docs.
if you fiddler your application with this client, it just botches the call completely(if you look at the api docs).
POST http://localhost:8000/api/v1/collections?tenant=localtestTenant&database=localtestDb HTTP/1.1
Host: localhost:8000
Accept: application/json
Content-Type: application/json; charset=utf-8
Content-Length: 62
{"name":"data-textfiles","metadata":null,"get_or_create":true}
bnuzhouwei commentedon May 6, 2025
How to fix?
inlineHamed commentedon May 29, 2025
See #69 (comment)
Laurianti commentedon Oct 3, 2026
The 1.x client calls the v1 API, which Chroma 1.x no longer serves. ChromaDotNet.Client uses the v2 API (#84).