primo's back office upload: Validation error: File type is not allowed in the zip file
Closed this issue · 2 comments
Hello! We at the University of Denver library are trying to your module here. This is what our directory structure looks like when we try to upload the primo custom zip through primo back office UI:
.
├── css
│ └── custom1.css
├── html
│ ├── README.md
│ └── home_en_US.html
├── img
│ ├── README.md
│ ├── browzine.png
│ ├── du-access-1.png
│ ├── du-shield.png
│ ├── freeleyavailable.png
│ ├── iliff-access-1.png
│ ├── law-1-gold.png
│ ├── library-logo.png
│ ├── oncampusonly.png
│ ├── primoui-search-all.png
│ └── restricted2.png
├── js
│ ├── custom.js
│ └── joseph.js
├── node_modules
│ ├── angulartics
│ │ ├── CHANGELOG.md
│ │ ├── Gruntfile.js
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── bower.json
│ │ ├── dist
│ │ │ ├── angulartics-baidu.min.js
│ │ │ ├── angulartics-cnzz.min.js
│ │ │ ├── angulartics-debug.min.js
│ │ │ ├── angulartics-ga-cordova-google-analytics-plugin.min.js
│ │ │ ├── angulartics-ga-cordova.min.js
│ │ │ ├── angulartics-gosquared.min.js
│ │ │ ├── angulartics-gtm-cordova.min.js
│ │ │ ├── angulartics-heap.min.js
│ │ │ ├── angulartics-hubspot.min.js
│ │ │ ├── angulartics-inspectlet.min.js
│ │ │ ├── angulartics-intercom.min.js
│ │ │ ├── angulartics-loggly.min.js
│ │ │ ├── angulartics-marketo.min.js
│ │ │ ├── angulartics-newrelic-insights.min.js
│ │ │ ├── angulartics-sitespect.min.js
│ │ │ ├── angulartics-splunk.min.js
│ │ │ ├── angulartics-woopra.min.js
│ │ │ ├── angulartics.min.js
│ │ │ └── index.min.js
│ │ ├── karma.conf.js
│ │ ├── nuget
│ │ │ ├── angular.analytics.adobe.nuspec
│ │ │ ├── angular.analytics.baidu.nuspec
│ │ │ ├── angular.analytics.chartbeat.nuspec
│ │ │ ├── angular.analytics.clicky.nuspec
│ │ │ ├── angular.analytics.cnzz.nuspec
│ │ │ ├── angular.analytics.core.nuspec
│ │ │ ├── angular.analytics.debug.nuspec
│ │ │ ├── angular.analytics.flurry.nuspec
│ │ │ ├── angular.analytics.ga.cordova-google-analytics-plugin.nuspec
│ │ │ ├── angular.analytics.ga.cordova.nuspec
│ │ │ ├── angular.analytics.ga.nuspec
│ │ │ ├── angular.analytics.gtm.nuspec
│ │ │ ├── angular.analytics.hubspot.nuspec
│ │ │ ├── angular.analytics.intercom.nuspec
│ │ │ ├── angular.analytics.kissmetrics.nuspec
│ │ │ ├── angular.analytics.localytics.nuspec
│ │ │ ├── angular.analytics.loggly.nuspec
│ │ │ ├── angular.analytics.marketo.nuspec
│ │ │ ├── angular.analytics.mixpanel.nuspec
│ │ │ ├── angular.analytics.piwik.nuspec
│ │ │ ├── angular.analytics.scroll.nuspec
│ │ │ ├── angular.analytics.segmentio.nuspec
│ │ │ ├── angular.analytics.splunk.nuspec
│ │ │ └── angular.analytics.woopra.nuspec
│ │ ├── package.json
│ │ ├── samples
│ │ │ ├── baidu.html
│ │ │ ├── cnzz.html
│ │ │ ├── google-tag-manager.html
│ │ │ ├── heap.html
│ │ │ ├── inspectlet.html
│ │ │ ├── intercom.html
│ │ │ ├── loggly.html
│ │ │ ├── loggly.tracker.js
│ │ │ ├── marketo.html
│ │ │ ├── newrelic-insights.html
│ │ │ ├── partials
│ │ │ │ ├── a.tpl.html
│ │ │ │ ├── b.tpl.html
│ │ │ │ ├── c.tpl.html
│ │ │ │ └── root.tpl.html
│ │ │ ├── piwik.html
│ │ │ ├── scroll.html
│ │ │ ├── sitespect.html
│ │ │ ├── splunk.html
│ │ │ └── woopra.html
│ │ ├── src
│ │ │ ├── angulartics-baidu.js
│ │ │ ├── angulartics-cnzz.js
│ │ │ ├── angulartics-debug.js
│ │ │ ├── angulartics-ga-cordova-google-analytics-plugin.js
│ │ │ ├── angulartics-ga-cordova.js
│ │ │ ├── angulartics-gosquared.js
│ │ │ ├── angulartics-gtm-cordova.js
│ │ │ ├── angulartics-heap.js
│ │ │ ├── angulartics-hubspot.js
│ │ │ ├── angulartics-inspectlet.js
│ │ │ ├── angulartics-intercom.js
│ │ │ ├── angulartics-loggly.js
│ │ │ ├── angulartics-marketo.js
│ │ │ ├── angulartics-newrelic-insights.js
│ │ │ ├── angulartics-sitespect.js
│ │ │ ├── angulartics-splunk.js
│ │ │ ├── angulartics-woopra.js
│ │ │ ├── angulartics.js
│ │ │ └── index.js
│ │ └── test
│ │ └── angularticsSpec.js
│ ├── angulartics-google-tag-manager
│ │ ├── bower.json
│ │ ├── dist
│ │ │ ├── angulartics-google-tag-manager.min.js
│ │ │ └── angulartics-google-tag-manager.min.js.map
│ │ ├── import
│ │ │ ├── classic-analytics-import.json
│ │ │ └── universal-analytics-import.json
│ │ ├── lib
│ │ │ ├── angulartics-google-tag-manager.js
│ │ │ └── index.js
│ │ ├── package.json
│ │ └── readme.md
│ └── primo-explore-google-analytics
│ ├── LICENSE
│ ├── README.md
│ ├── dist
│ │ ├── index.js
│ │ └── index.js.map
│ └── package.json
└── package.json
We get the following error:
Validation error: File type is not allowed in the zip file
And we suspect that it's the .json files that are causing the error. Do you get this error, or is there a workaround? Are these all of the files that we are supposed to include when we upload our custom files through primo back office?
from ex libris here's the list of allowed file formats: md,txt,js,html,htm,css,jpg,jpeg,bmp,gif,png,ico,otf,eot,svg,ttf,woff,woff2
@kimpham54 just seeing this, assuming you've figured it out by this point.
.json
files are common parts of npm modules so i can't imagine that would cause this failure. we are also not seeing this error.