My epub files pass epubcheck, but Kindlegen refuses to generate mobi files. It seems that issue is caused by adding references ("colophon", "dedication", etc.) to pages.

I'm really hitting a wall here. I would really appreciate some EPUB

FILE + ERROR LOGS: <https://we.tl/UtGqtAxbir>