Fix viewer vs code mode error
Resolve errors when uploading HTML to a document-only project.
What you see
An error like index.html cannot be uploaded or requires code mode.
Current project
Viewer modePDFs only
New project needed
Code modeUpload HTML ZIP
Why
This project is in viewer mode (documents only). HTML and web files need a new project created with at least one HTML file.
What to do
Keep the current project
Continue using it for PDFs and images only.
Create a new project
Start a new upload project for your website.
Include HTML in the first upload
Add at least one HTML file or a ZIP with HTML at the root.