pana87 commented on issue #343:
URL: https://github.com/apache/couchdb-nano/issues/343#issuecomment-2291107476
I reproduced this by decreasing the max_document_size and tried an insert
operation.
"max_document_size has been reached" this is a understandable error i guess.
maybe we could provide the solution also like: go to config -> go to section
couchdb -> add or increase max_document_size option or something like this,
would be very helpful. what do you think? @YakovL
Here is the console.log(e)
```
e AxiosError: Request failed with status code 413
at settle
(/Users/pnts/repositories/getyour/getyour-platform/node_modules/axios/dist/node/axios.cjs:1967:12)
at IncomingMessage.handleStreamEnd
(/Users/pnts/repositories/getyour/getyour-platform/node_modules/axios/dist/node/axios.cjs:3062:11)
at IncomingMessage.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections
(node:internal/process/task_queues:82:21) {
code: 'ERR_BAD_REQUEST',
```
Here is the initial error
```
Error: logs
at responseHandler
(/Users/pnts/repositories/getyour/getyour-platform/node_modules/nano/lib/nano.js:193:20)
at
/Users/pnts/repositories/getyour/getyour-platform/node_modules/nano/lib/nano.js:442:13
at process.processTicksAndRejections
(node:internal/process/task_queues:95:5) {
scope: 'couch',
statusCode: 413
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]