Consider the following conditions while adding a file as an attachment:
The default maximum file size is 50 MB.
The following file extensions are allowed:
.7z, .bmp, .csv, .doc, .docx, .eml, .feature, .gif, .gz, .htm, .html, .jpeg, .jpg, .json, .key, .lic, .log, .m4p, .mkv, .mp4, .msg, .odp, .ods, .odt, .pdf, .png, .pps, .ppt, .pptx, .py, .rar, .rtf, .sql, .svg, .tar, .txt, .wmv, .wrf, .xls, .xlsx, .xml, .yaml, .yml, .crt, .cer, .ca-bundle, .p7b, .p7c, .p7s, .pem, .keystore, .jks, .p12, .pfx, .pem, and .zipThe file MIME type should match the file extension.
Configuring the File Size
The different ways to configure a file size in the system are:
You can configure the file size using the API endpoint and the method is PUT.
/flex/services/rest/latest/admin/preference/admin
In the request body, the unit for the file size must be in bytes.
You must include the following parameters:
[ { "name": "allowed.upload.max.file.size", "value": "52428800" } ]