This error due to you are trying to upload Other than ZIP
Compressed version. Other format is not supported while uploading the plugin in wordpress.
You should unzip your plugin and make sure you compress with ZIP
format and upload it will be working fine.