Forum Discussion

Ang's avatar
Ang
Community Member
8 days ago

Code Block isn’t detecting my index.html file inside the ZIP

I keep getting "Your ZIP file must contain an index.html file" when uploading my ZIP file. The total file size is 3.14MB. There are six PNG images in it with the index.html file. I appreciate any help.

2 Replies

  • Ang's avatar
    Ang
    Community Member

    Thank you for pointing out the solution. It's detecting my index.html file now.

  • Are you able to share the zip for us to troubleshoot?

    Without seeing it directly, best I can speculate is that the index.html isn't top-level. If you have the images and index.html in a folder, and then you right-click that folder and create a zip out of it, the index file will not be in the root of the zip. It'll be one level down. Be sure to lasso and zip the index.html itself along with any adjacent files.