Configuring nodeJS payload size ? - PayloadTooLargeError: request entity too large

Hi,

I’m getting this error on webhook callbacks. Is there a way to increase this limit in my config ?

Thanks

server-connect:server Got error? PayloadTooLargeError: request entity too large
server-connect:server at readStream (/opt/node_app/node_modules/raw-body/index.js:156:17)
server-connect:server at getRawBody (/opt/node_app/node_modules/raw-body/index.js:109:12)
server-connect:server at read (/opt/node_app/node_modules/body-parser/lib/read.js:79:3)
server-connect:server at jsonParser (/opt/node_app/node_modules/body-parser/lib/types/json.js:135:5)
server-connect:server at Layer.handle [as handle_request] (/opt/node_app/node_modules/express/lib/router/layer.js:95:5)
server-connect:server at trim_prefix (/opt/node_app/node_modules/express/lib/router/index.js:328:13)
server-connect:server at /opt/node_app/node_modules/express/lib/router/index.js:286:9
server-connect:server at Function.process_params (/opt/node_app/node_modules/express/lib/router/index.js:346:12)
server-connect:server at next (/opt/node_app/node_modules/express/lib/router/index.js:280:10)
server-connect:server at urlencodedParser (/opt/node_app/node_modules/body-parser/lib/types/urlencoded.js:100:7) {
server-connect:server expected: 655948,
server-connect:server length: 655948,
server-connect:server limit: 102400,
server-connect:server type: ‘entity.too.large’
server-connect:server } +1m

Community Page
Last updated: