Hey @jarmo,
Well, I in my case I had to add this below code in middleware.js to make it work
module.exports = [
{
name: 'strapi::security',
config: {
formidable: {
config: {
formLimit: "5mb", // modify form body
jsonLimit: "5mb", // modify JSON body
formidable: {
maxFileSize: 5 * 1024 * 1024, // multipart data, modify here limit of uploaded file size
},
},
},
},
}
];