chroma icon indicating copy to clipboard operation
chroma copied to clipboard

[Bug]: ERR_FR_MAX_BODY_LENGTH_EXCEEDED on batch insert of 1000 docs

Open jonluca opened this issue 1 year ago • 1 comments

What happened?

capture 2023-04-17 at 10 00 25 AM

In the typescript client, I'm trying to do a batch insert of 1000 embeddings. I get a ERR_FR_MAX_BODY_LENGTH_EXCEEDED exception

The header Content-Length is 19669240, which doesn't feel that large. Especially since this is local?

Versions

Chroma 0.3.22.dev17

Node 19, latest docker and macos versions

Relevant log output

The max body error doesn't show up in uvicorn logs

jonluca avatar Apr 17 '23 17:04 jonluca

This also crashes the client, since response is undefined and you're trying to access response.data

jonluca avatar Apr 17 '23 17:04 jonluca

This is axios issue but removing axios now.

https://github.com/chroma-core/chroma/pull/348

gustawdaniel avatar Apr 20 '23 09:04 gustawdaniel

Thanks @gustawdaniel !

jeffchuber avatar Apr 20 '23 16:04 jeffchuber