Can you also try to add textLimit
:
module.exports = {
// ...
settings: {
parser: {
// ...
formLimit: '10mb', // modify here limit of the form body
jsonLimit: '10mb', // modify here limit of the JSON body
textLimit: '10mb', // modify here limit of the text body
formidable: {
maxFileSize: 100 * 1024 * 1024, // multipart data, modify here limit of uploaded file size
},
},
},
};
Parser middleware uses the koa-body module, so all these options from parser are passed to it. You can view all available options here:
koa-body also uses formidable for form-data content(file uploads), you can view all it’s available options here: