Your EPUB Got Rejected by the Store? Fix the Errors It Actually Names

Your EPUB Got Rejected by the Store? Fix the Errors It Actually Names

A store rejection is usually a list, not a verdict. The notice names a file that doesn't exist, an entry the package list forgot, or a packing rule the first file breaks — and each of those names a specific mismatch between the book's lists and its files. My test book had all three planted in it, so I could watch each one get named, and then fixed.

The test book is a fake: "A Field Guide to Imaginary Harbors" by Marin Solace, published by Harborlight Press (fictional) — every name in it is made up. I planted three errors: the mimetype entry compressed instead of stored, chapter 4 present in the file and the reading order but missing from the manifest, and a contents entry pointing at a chapter file that doesn't exist. Tested 2026-11-14, and re-tested the same day after the tool was fixed (the first version of this post described the old behaviour — see below).

Try the toolFix EPUB Chapters & TOC: split chapters, rebuild contents, edit metadataFix just the parts of an EPUB you need right now, without learning a new ebook editor.loopyti.com

The moment the file opened, the header read Files 9, Chapters 4, Errors 2, To check 1. The file list showed nine files, with ch4.xhtml the only one marked Type "—" and Role "Not listed". The chapter list showed Chapter 1, 2, 3, and 5 — no Chapter 4, even though the file is really there.

EPUB fix tool file list showing nine files with ch4 marked not listed and error counts two errors and one to check

The check list named four problems, in the tool's own words:

  • "Fixed on download" — "The mimetype entry's position, compression or content breaks the rule" — mimetype
  • "Error" — "Reading order refers to an unknown item ID" — ch4
  • "Check" — "File not listed in the package" — OEBPS/ch4.xhtml
  • "Error" — "Contents entry points to a missing file" — "OEBPS/nav.xhtml → ch6.xhtml"

While errors remain, the page warns: "Errors remaining: 2. You can still download, but readers may not open the file." Under the list it says: "The file is packed again with mimetype as the first, uncompressed entry. Keep your original file as it is."

EPUB fix tool check list naming four problems including the mimetype rule, the unknown ch4 item, and the contents link to a missing file

The contents points at a file that isn't there

The contents list showed the damage plainly: Chapter 1 through 5, plus "Appendix — Glossary of Harbors" struck through and marked "File missing", "ch6.xhtml". The appendix was never a real chapter — its file doesn't exist in the book at all, so the contents entry points at nothing.

Table of contents before fixing showing the appendix entry struck through as file missing

The fix is to rebuild the contents from the chapters that are actually there. I clicked "Rebuild contents" and it answered "Rebuilt the contents with 5 entries." The contents list now has five entries — Chapter 1, 2, 3, 4, and 5 — the broken appendix entry was gone, and the tool shows its work underneath: under "Entries removed from the contents because their file is missing" — "Appendix — Glossary of Harbors → ch6.xhtml". A dead link gets deleted, not repaired — which is the right call when the file it points at never existed.

Rebuilt table of contents with five entries including Chapter 4, with the automatic fix and the removed appendix entry listed below

A chapter the manifest forgot

Chapter 4 is the quieter problem. Its file, ch4.xhtml, is really in the book, and the reading order points at it — but the manifest, the list that says which files belong to the package, never mentions it. That is why the chapter list shows no Chapter 4 and the file list marks the file "Not listed": the book has a chapter its own paperwork doesn't know about.

The rebuild fixed this one too, and said so. Under "Fixed automatically" it wrote: "The reading order points to ch4, which was not in the file list. OEBPS/ch4.xhtml is in the package, so it was added to the list." The header dropped from Errors 2 to Errors 0, and Chapter 4 — Troubleshooting stayed in the contents — the rebuild builds the contents from the chapters that are actually there, and ch4 is a real file, so this time the chapter stayed and only the broken appendix entry went. (An earlier version of this post said the rebuild deleted Chapter 4 along with the broken entry — that was true before the fix, and it is fixed now.)

The first file breaks the packing rule

The mimetype entry has to sit first in the zip and uncompressed, and mine was compressed instead. The check list flags it with the "Fixed on download" badge, but the diagnosis never says what is actually wrong — only that the entry's "position, compression or content breaks the rule". In my file the problem was compression, and the tool itself never tells you that.

The fix happens when you download. I clicked "Download EPUB" and it answered "Created broken-sample-fixed.epub." The file is 3,200 bytes. I opened the downloaded file as a zip and checked it directly: the mimetype entry is first, stored uncompressed, and reads "application/epub+zip" — so the "Fixed on download" claim is real. The manifest now lists ch4, the spine still refers to ch4, and the contents links are ch1, ch2, ch3, ch4, and ch5 — the broken link is gone because its entry was deleted, and the chapter that was missing from the manifest is now in it.

And the header after the download reads Files 9, Chapters 5, Errors 0, To check 0, and the check list says "No broken internal links or missing files." There is no "errors remaining" warning any more.

Check and download section showing no broken internal links or missing files after the EPUB was rebuilt

So the honest score for my three planted errors: the mimetype problem was really fixed, the broken contents link was fixed by deleting its entry, and the manifest gap was repaired too — ch4 is in the manifest now. All three are fixed.

The book details were untouched by all of this: Title "A Field Guide to Imaginary Harbors", Author "Marin Solace", Language "en", Publisher "Harborlight Press (fictional)", Description empty. I applied them unchanged and got "Applied the book information." There is no cover image — "There is no cover image." — and the "Download cover" button is disabled. The split buttons stayed greyed out in my test because each chapter already has exactly one heading, which is the normal state for a well-split book. The link check runs automatically when the file opens; there is no separate "check links" button to press, and the list is recalculated after a rebuild.

What this doesn't cover, and the other ways

One thing to be clear about: this tool is not a validator. It doesn't run the store's checks and hand you a pass or fail. It shows you where the list and the files disagree, and lets you fix the contents and the metadata. The error list it shows is its own check, not the store's verdict — so a download is not a pass. In my test the rebuild cleared every error, so no warning appeared, but the old version let you download a file that still had errors, and I did not re-test that path. If your header still shows errors after a rebuild, do not treat the download as fixed.

It won't open DRM-protected books, and it won't rewrite body text — chapter structure, contents, metadata, and cover are the whole range. A typo in the body stays a typo. One case I did not test: a chapter the reading order points at whose file is not in the package at all. The fix note says the rebuild removes the spine reference in that case, so check the "Fixed automatically" lines for your own file. And watch the size limits: the page says "Open one EPUB file up to 100MB" but the header at the top of the same page says "EPUB · up to 50 MB · up to 500 files". The two limits disagree, and my test file was only 3,208 bytes, so I can't tell you which one actually applies.

There are other ways to fix the same three problems. Fix it by hand in Calibre or Sigil works — you can add a chapter to the manifest yourself. But you have to install and learn an ebook editor, and editing the manifest and the contents list by hand is exactly how they drift apart again. Run a validator like epubcheck and fix the list it gives you gives you the most accurate error list. What it doesn't give you is the fix: you still have to unzip the book, edit the files, and zip it back up — and repacking a zip by hand is how the mimetype rule gets broken in the first place. Export the book again from the original source file is the cleanest fix when you still have the source. But if all you have is the rejected file, or the export produces the same error again, there is nothing to re-export from.

The browser tool sits in the middle: the store named an error in the contents or the book details, and you want to fix that part without installing anything. Your file stays in your browser — nothing is sent to a server, and closing the window clears what you entered. Keep a separate copy of the original before you edit — the tool says so itself, and my test left the original file untouched.

Before you resubmit

  • The header reads Errors 0 and To check 0 — if it doesn't, the file still has a problem in it.
  • The contents list has every chapter that is really in the book, and no entry pointing at a missing file.
  • The "Fixed automatically" lines name what the rebuild changed, and the removed entries are listed by name — read both before you download.
  • The book details are applied as you want them, and the cover is the one you intend.
  • The original file is saved separately, untouched.