Question: My Rich Media (in-app) ZIP archive is rejected on upload with "Zip file must contain index.html". Why?
Answer: The archive must contain index.html in its root. The usual cause is compressing the folder that holds your files: the archive then stores the file as MyTemplate/index.html, nothing is found in the root, and the upload is rejected.
Select the files themselves — not the folder that contains them — and compress those. On macOS: put the files on the desktop, select them, right-click and press "Compress 2 Files".
Subfolders inside the archive are allowed for assets such as images, CSS or fonts, as long as index.html stays in the root and the relative paths in your HTML match.
Comments
0 comments
Article is closed for comments.