Skip to content
EPUBCheck · EPUBCheck configuration

CHK-003

Updated:

EPUBCheck CHK-003 is an error message: “Unrecognized custom message severity "…" encountered in message overrides file "…".” The custom message file sets a severity EPUBCheck does not recognise.

The official message

Unrecognized custom message severity "%1$s" encountered in message overrides file "%2$s".

Default severity
Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
EPUBCheck version
5.4.0

%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.

Typical causes

  • A typo in the severity name.

How to fix it

  • This is a problem with the file passed to EPUBCheck's -c (--customMessages) option, not with the EPUB. Fix the custom message file or run EPUBCheck without -c.
  • To start from a correct file, run EPUBCheck with -l (--listChecks) to write the list of message IDs and their severities, then edit that list.

Terms used here

Other CHK messages

  • CHK-002 Unrecognized custom message id … encountered in message overrides file "…".
  • CHK-001 The custom message overrides file was not found.
  • CHK-007 Error encountered while processing custom message file "…": "…".

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.

FAQ

What does EPUBCheck CHK-003 mean?

EPUBCheck CHK-003 is an error message: “Unrecognized custom message severity "…" encountered in message overrides file "…".” The custom message file sets a severity EPUBCheck does not recognise.

Is CHK-003 an error?

CHK-003 is reported as error by default. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.