Hello Experts,
I am working on SAP XSA Multi Target Application and using nodeJS application on HANA XSA Platform. While posting large files I am getting error "PayloadTooLargeError: request entity too large". After reading multiple blogs(including https://github.com/expressjs/body-parser), I got to know that the request body size is set to '100kb'. To fix this, I have increased the limit by adding code:
app.use(bodyparser.urlencoded({ limit: '5mb', parameterLimit: 100000, extended: true }));
After adding this, I am getting other error: "Error: error while parsing protocol: invalid communication buffer structure".
Kindly suggest fix of this issue.
Regards,
Shama