While we can't say for sure without the document, I'd say chances are good that there's something wrong with the EPUB, yes. You could run it through epubcheck to see what it says.
As an example of things that can go wrong, see
https://github.com/koreader/koreader/issues/6339