Match the report title.
Look for "dtb:uid mismatch EPUB" or the closest title listed above. If the platform wording is different, keep the original EPUBCheck, KDP, or Kindle Previewer message before choosing a fix.
Use this when the NCX dtb:uid value does not match the OPF package identifier. Compare content.opf and toc.ncx before you change metadata values.
The scan shows affected paths and repair decisions. It does not show manuscript text.
Not sure this kind of EPUB should be scanned here? Check unsupported or manual-only EPUB cases.
Scan report titles
Read the scan report
Use the report label, affected file, and repair decision together. A matching title alone is not enough if the file path or EPUB structure points to a different problem.
Look for "dtb:uid mismatch EPUB" or the closest title listed above. If the platform wording is different, keep the original EPUBCheck, KDP, or Kindle Previewer message before choosing a fix.
Use the report's Affected area, Source file, Target file, or Problem type rows before editing content.opf, nav.xhtml, toc.ncx, XHTML, CSS, or image paths.
Repairable means EPUB Fixer found one clear structural change. Manual review or Not supported means use the source project, formatter, or platform workflow instead of guessing.
Handoff summary
Copy the report summary instead of rewriting the EPUB from memory. A useful handoff includes the source file, target file or field, original error, repair decision, and next step.
1. Example report output
The report should list the two identifier values and show which one the OPF package already treats as authoritative.
EPUBCheck message
ERROR(NCX-001): NCX identifier does not match OPF unique identifier.
OPF identifier
unique-identifier points to dc:identifier value urn:uuid:book-123.
NCX dtb:uid
toc.ncx head meta name="dtb:uid" content="urn:uuid:old-456".
Do this next
Align toc.ncx only if the OPF package already has one clear publication identifier.
Do not do this
Do not pick between ISBN, UUID, retailer, or draft identifiers automatically when the metadata itself is unclear.
A safe repair means keeping one existing publication identifier and making toc.ncx match it exactly.
2. Next step
NCX_001 is small to edit, but easy to repair incorrectly if the OPF metadata already contains several competing identifiers.
Scan first
List the OPF unique-identifier target and the toc.ncx dtb:uid value together before editing either one.
Safe repair
Update the NCX dtb:uid only when the OPF package already has one clear publication identifier that should govern the file.
Manual review
Stop when the EPUB contains several ISBN, UUID, retailer, or draft values and the correct publication identifier is a publishing decision.
3. Concrete path example
The OPF and NCX belong to the same book but point at different identifier values.
EPUBCheck: ERROR(NCX-001): NCX identifier does not match OPF unique identifier. Report: OPF publication identifier: urn:uuid:book-123 toc.ncx dtb:uid: urn:uuid:old-456 Fix decision: safe repair if the OPF identifier is the intended publication identifier
If the OPF publication identifier is itself ambiguous, choose manually before editing toc.ncx.
Quick decision
For EPUB 2 navigation, toc.ncx should reflect the same publication identifier that content.opf already uses.
Scan first
Read the OPF unique-identifier target and the toc.ncx dtb:uid value together before editing metadata.
Safe fix
Make toc.ncx match that identifier exactly, then validate again.
Stop
Do not let an automatic repair choose between multiple ISBN, UUID, retailer, or draft identifiers.
Start here
NCX_001 is not about visible title or author text. It means the EPUB 2 navigation file names a different book identifier than the OPF package.
The book package and the NCX navigation file disagree about which identifier belongs to this publication.
EPUB Fixer can help when content.opf already has one clear publication identifier and toc.ncx only needs to match that value exactly.
Open content.opf and find which dc:identifier the package unique-identifier points to.
It should stop when the metadata contains several plausible identifiers or when the correct publication identifier depends on a publishing workflow decision.
Common situations
Start with the OPF identifier the package already treats as the book identifier.
The OPF package points to the current publication UUID, but toc.ncx still carries a value from an older export.
Update the NCX dtb:uid to the OPF publication identifier.
The EPUB contains more than one plausible identifier, so the two files no longer agree.
Choose the intended publication identifier manually before aligning the files.
content.opf was edited, but toc.ncx was not regenerated or updated.
Repair only if the OPF unique identifier is already the correct one.
Converted files can carry test, retailer, and publication identifiers at the same time.
Treat this as manual metadata review instead of a blind NCX edit.
NCX_001: The NCX identifier does not match the OPF unique identifier.
EPUBCheck, Kindle Previewer, or KDP reads an EPUB 2 style toc.ncx file and finds that its dtb:uid value does not match the publication identifier declared in content.opf.
What it means
The book package and the NCX navigation file disagree about which identifier belongs to this publication.
This often happens after metadata edits, EPUB 2 re-exports, or manual fixes where content.opf was updated but toc.ncx kept an older UUID or ISBN value.
Before you edit
Do not invent a new identifier. First confirm which OPF identifier already represents the publication, then see whether toc.ncx copied an older or different value.
Why KDP checks it
The OPF file is the EPUB's map: metadata, file list, reading order, and navigation wiring. KDP and EPUBCheck use it to decide whether the book package is coherent.
EPUBCheck checks EPUB 2 and EPUB 3 files against the official rules and reports package, markup, link, and file-reference problems.
Can this be fixed safely?
EPUB Fixer can help when content.opf already has one clear publication identifier and toc.ncx only needs to match that value exactly.
It should stop when the metadata contains several plausible identifiers or when the correct publication identifier depends on a publishing workflow decision.
Before: content.opf identifies the book with one UUID, but toc.ncx still carries an older value. After: toc.ncx matches the OPF publication identifier exactly if that identifier is already the clear intended one.
Ready to retry?
The scan should show the OPF unique-identifier target, the dc:identifier value, and the NCX dtb:uid value so you can see whether one side is simply stale.
Upload EPUB to scanFAQ
It means toc.ncx names a different book identifier than the OPF package. The two files should describe the same publication.
Mostly, yes. It matters when the EPUB still uses toc.ncx as part of its navigation wiring.
Only when content.opf already has one clear publication identifier and toc.ncx simply needs to match it.
No. Use the existing publication identifier only when it is already clear which one the OPF package should use.