WordPress does not allow all files to be uploaded. Add this code to wp-conig to remove the limit. Disable when you don't need it (for security reasons). Add this to wp-config.php:
/** Set to true to allow all file types to be uploaded. Should be
disabled on live sites */
define('ALLOW_UNFILTERED_UPLOADS', true);
Code language: PHP (php)