If you use the latest version and need to upload a larger file than 256Mb… then
/config/middlewares.js
module.exports = [
"strapi::errors",
"strapi::security",
"strapi::cors",
"strapi::poweredBy",
"strapi::logger",
"strapi::query",
{
name: "strapi::body",
config: {
formLimit: "256mb",
jsonLimit: "256mb",
textLimit: "256mb",
formidable: {
maxFileSize: 200 * 1024 * 1024,
},
},
},
"strapi::favicon",
"strapi::public",
"global::globalTest",
"global::globalBlah",
];