EPUBCheck
EPUBCheck evaluates EPUB 2 and EPUB 3 publications against official EPUB specifications and reports structure, package, markup, and reference problems.
EPUB error guide
What RSC_012 fragment identifier errors mean and when broken EPUB anchors can be repaired safely.
RSC_012: Fragment identifier is not defined.
KDP or EPUBCheck finds a link such as chapter.xhtml#note-4, but the target XHTML file has no matching id.
Plain English
The file exists, but the exact anchor inside that file does not.
This often happens after headings, footnotes, endnotes, or TOC entries are edited and the old id remains in a link.
User checklist
These checks keep the repair decision tied to the EPUB package instead of guessing from a generic error code.
Standards context
EPUBCheck evaluates EPUB 2 and EPUB 3 publications against official EPUB specifications and reports structure, package, markup, and reference problems.
The package document defines the metadata, manifest, spine, and navigation wiring that validators inspect before a reading system can process the book reliably.
Repairability
EPUB Fixer can repair a fragment only when there is one clear target, such as a moved body id or an obvious heading id mismatch.
Footnotes, endnotes, and duplicated heading text often require manual review because choosing the wrong anchor can send readers to the wrong place.
Before: nav.xhtml links to chapter2.xhtml#section-5, but chapter2.xhtml contains id="sec-5". After: the link is updated only if that is the single safe match.
Next step
The same error code can come from different files and different causes. Uploading the EPUB lets the report show the affected path and whether the fix is deterministic.
Upload EPUB to scanFAQ
It means the EPUB link points to a file that exists, but the anchor after the # symbol does not exist inside that file. This often affects table of contents links, footnotes, endnotes, or heading links.
Compare the link target with the id values inside the target XHTML file. A safe fix requires one clear matching anchor; otherwise the link may send readers to the wrong section.
Editing tools can rename headings, footnotes, or section ids while old links remain in the nav, NCX, or chapter files. The file path still works, but the specific fragment target is gone.
Only when there is a single obvious replacement anchor, such as a moved body id or a simple heading id mismatch. Footnotes and duplicated headings usually need manual review.