Maximum file size in a Smart Action field "File"

I think you can configure the default limit in you app.js file.

For instance, if you want to allow 10MB, here is what you need to do:

- app.use(bodyParser.json());
+ app.use(bodyParser.json({ limit: '10mb' }));
- app.use(bodyParser.urlencoded({ extended: false }));
+ app.use(bodyParser.urlencoded({ extended: false, limit: '10mb' }));

Let me know if it helps.

4 Likes