Please select a valid zip file.
UnsupportedMediaTypeError: Please select a valid zip file. at new UnsupportedMediaTypeError (/opt/gscan/shared/node_modules/ghost-ignition/lib/errors/index.js:128:23) at uploadValidation (/opt/gscan/releases/2019-07-11T06:56:38.910Z/app/middlewares/upload-validation.js:37:21) at Layer.handle [as handle_request] (/opt/gscan/shared/node_modules/express/lib/router/layer.js:95:5) at next (/opt/gscan/shared/node_modules/express/lib/router/route.js:137:13) at Immediate._onImmediate (/opt/gscan/shared/node_modules/multer/lib/make-middleware.js:53:37) at runCallback (timers.js:706:11) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)
I want to upgrade to v2 and the guide says to use the GScan tool to make sure the theme works. Any idea what’s wrong?
I am using Windows 10 1903 and tried on Chrome 75 and Firefox 64. I have tried uploading the zip downloaded from the Casper github repo as mentioned above and it fails too. So, I checked using a colleagues Mac chrome and my custom theme as well as the github zip works fine. It seems like its an issue isolated to the Windows environment.
@SayakMukhopadhyay im unable to use the gscan tool as it is throwing an error when im uploading a file. tell me how can solve this problem
Uh-Oh, There was an error.
Please select a valid zip file.
UnsupportedMediaTypeError: Please select a valid zip file. at uploadValidation (/app/app/middlewares/upload-validation.js:37:21) at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) at next (/app/node_modules/express/lib/router/route.js:144:13) at Immediate._onImmediate (/app/node_modules/multer/lib/make-middleware.js:53:37) at processImmediate (node:internal/timers:468:21) at process.topLevelDomainCallback (node:domain:161:15) at process.callbackTrampoline (node:internal/async_hooks:128:24)