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]: ERR_FR_MAX_BODY_LENGTH_EXCEEDED on batch insert of 1000 docs #366

Closed
jonluca opened this issue Apr 17, 2023 · 3 comments
Closed

[Bug]: ERR_FR_MAX_BODY_LENGTH_EXCEEDED on batch insert of 1000 docs #366

jonluca opened this issue Apr 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@jonluca
Copy link

jonluca commented Apr 17, 2023

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 jonluca added the bug Something isn't working label Apr 17, 2023
@jonluca
Copy link
Author

jonluca commented Apr 17, 2023

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

@gustawdaniel
Copy link

This is axios issue but removing axios now.

#348

@jeffchuber
Copy link
Contributor

Thanks @gustawdaniel !

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

3 participants