-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
possible bugBug was reported but is not confirmed or is unable to be replicated.Bug was reported but is not confirmed or is unable to be replicated.
Description
How are you running AnythingLLM?
Docker (local)
What happened?
Sending a document larger than 100kb to /api/v1/document/raw-text results in:
[collector] error: PayloadTooLargeError: request entity too large
at readStream (/app/collector/node_modules/raw-body/index.js:163:17)
at getRawBody (/app/collector/node_modules/raw-body/index.js:116:12)
at read (/app/collector/node_modules/body-parser/lib/read.js:79:3)
at jsonParser (/app/collector/node_modules/body-parser/lib/types/json.js:138:5)
at Layer.handle [as handle_request] (/app/collector/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/app/collector/node_modules/express/lib/router/index.js:328:13)
at /app/collector/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/app/collector/node_modules/express/lib/router/index.js:346:12)
at next (/app/collector/node_modules/express/lib/router/index.js:280:10)
at textParser (/app/collector/node_modules/body-parser/lib/types/text.js:78:7)
Are there known steps to reproduce?
Send a document >100kb via /api/v1/document/raw-text.
Metadata
Metadata
Assignees
Labels
possible bugBug was reported but is not confirmed or is unable to be replicated.Bug was reported but is not confirmed or is unable to be replicated.