I am using AWS S3 node to upload binary data to a bucket. I am able to upload small text files. But a 10 MB csv file that is read from local as binary and re converted to binary for eventual upload to S3 using AWS S3 node. It gives error:
{
“message”: “Request body larger than maxBodyLength limit”,
“stack”: “Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit at RedirectableRequest.write (/home/gowtham/n8n/node_modules/follow-redirects/index.js:102:24) at RedirectableRequest.end (/home/gowtham/n8n/node_modules/follow-redirects/index.js:127:10) at dispatchHttpRequest (/home/gowtham/n8n/node_modules/axios/lib/adapters/http.js:328:11) at new Promise () at httpAdapter (/home/gowtham/n8n/node_modules/axios/lib/adapters/http.js:46:10) at dispatchRequest (/home/gowtham/n8n/node_modules/axios/lib/core/dispatchRequest.js:53:10)”,
Thank you @MutedJam. It does indeed work with version 0.179.0
P.S. I tired setting maxContent and bodyLengths at AWS S3 node level. Didn’t resolve the problem with older verisons. I see the change logs and figure I should have modified the parent nodeExecuteFunction.ts instead