beukbeuk.studio · Help

Help / Error dictionary / BEUK-P101

BEUK-P101Packageerror

The mimetype entry is wrong

You might see

  • EPUBCheck PKG-006Mimetype file entry is missing or is not the first file in the archive.
  • EPUBCheck PKG-007The content of the mimetype file must be the string "application/epub+zip"…
  • EPUBCheck PKG-005The mimetype file has an extra field of length …. The use of the extra field feature of the ZIP format is not permitted for the mimetype file.
  • Beuk's validatorMimetype is not the first, uncompressed entry

What happened

An EPUB's very first entry must be a tiny file named mimetype, stored with no compression. Re-zipping an EPUB with an ordinary zip tool breaks this instantly.

Work through it

  1. Don't re-zip the EPUB by hand.
  2. Export again from Beuk — the mimetype is written first and uncompressed by construction.
  3. Run Validate This Book; its first check confirms it.

Read: Check your book (the validator) →

Maps to

EPUBCheckPKG-006 PKG-007 PKG-005
Studio validatormimetype.first-stored

Sources

  • tools-bin/epubcheck.jar MessageBundle.properties PKG_005 PKG_006 PKG_007
  • client/index.html validateEpubPackage check 1

Still stuck? write to [email protected] and mention BEUK-P101.