I keep getting Please make sure the file exists, is accessible and is valid HTML when trying to upload a new custom theme

When you get this message check:
1. That your file is on a publically accessible URL 
2. It has not been corrupted (some providers convert > to > for example)
3. The filename ends with .html rather than .twig

Feedback and Knowledge Base