# EPUBCheck OPF-002: The OPF file … was not found in the EPUB

Source: https://epublab.com/epubcheck/opf-002/ (updated 2026-11-03)

EPUBCheck OPF-002 is a fatal error message: “The OPF file "…" was not found in the EPUB.” The package document named in META-INF/container.xml is not in the archive, so nothing else can be checked.

- Official message (EPUBCheck 5.4.0): The OPF file "%1$s" was not found in the EPUB.
- Default severity: Fatal error

## Typical causes

- A full-path in container.xml that does not match the real path or case of the .opf file.
- The .opf file was renamed or moved.

## How to fix it

- Make the rootfile full-path in container.xml match the package document's real path, including case.

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