You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on SAP XSA Multi Target Application and using nodeJS application for services.
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:
After adding this, I am getting other error: "Error: error while parsing protocol: invalid communication buffer structure". Tried solution as per #19, still getting same issue.
Kindly suggest fix of this issue.
The text was updated successfully, but these errors were encountered:
I am working on SAP XSA Multi Target Application and using nodeJS application for services.
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". Tried solution as per #19, still getting same issue.
Kindly suggest fix of this issue.
The text was updated successfully, but these errors were encountered: