Closed swapinvidya closed 2 years ago
Make sure that the file you're trying to uploading is one of those types.
Unfortunately, this does not work – uploading a CSV file (comma-separated) results in:
Additionally, importing an Excel workbook yields errors relating to the email address being required, but it is present.
Update: after further examination, the excel import does not work at all as it does not unpack/parse the file, it just reads it as a text file.
In order to get the CSV working, I had no choice but to update the subscriber import form request to skip the mime type check.
I am also getting this error. I am not a PHP or Laravel expert by any stretch, so I'm not sure how to get this part working? I've got a couple hundred to import so I don't really want to do this manually. I'm running PHP 8.0 and NGINX and am encountering the same problems as described above.
The issue is because of PHP Version. The FAST Excel is not working properly over PHP 7.4. Just change our php version to PHP 7.4 to get it working.
The file must be a file of type: text/csv, text/plain, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
this error is getting when ever i try to upload any file.