What it means
One file inside the EPUB points to another file or to an anchor that the package cannot resolve. OPF manifest means the file list inside content.opf; anchor or fragment means the part after # in an internal link.
EPUB error guide
Scan when KDP, Previewer, or EPUBCheck says an EPUB link, image, stylesheet, chapter path, nav.xhtml entry, NCX target, or anchor is broken.
Best fit
Upload when the error mentions RSC_007, RSC_012, internal links with missing anchor, a missing image/CSS/chapter path, or a broken nav.xhtml or toc.ncx target.
Report shows
The scan names the file that contains the broken pointer, whether the target file exists, and whether the anchor after # exists inside that file.
Stop when
Do not auto-fix footnotes, repeated headings, absent images, missing chapters, moved files, or renamed anchors. Those require manual confirmation.
Scan the EPUB to check file paths and see what can be repaired or needs manual review. Your original EPUB stays unchanged.
Need fixed-layout, DRM, or source-file help? Check unsupported or review-first EPUB cases.
Match these report titles
Start here
A broken EPUB link can be a missing file path or a missing anchor after #. Upload the EPUB when the message does not clearly show where the bad reference lives.
One file inside the EPUB points to another file or to an anchor that the package cannot resolve. OPF manifest means the file list inside content.opf; anchor or fragment means the part after # in an internal link.
A checked repair is possible when exactly one existing packaged path or target id differs from the reference only by letter case, URL encoding, or both.
Find the file that contains the broken reference, such as a chapter XHTML file, stylesheet, nav.xhtml, toc.ncx, or content.opf.
It stops for manual review when the file is absent, several targets could match, the anchor belongs to a footnote or repeated heading, or the fix would require choosing where readers should land.
1. Example report output
The report should show both sides of the link: the EPUB file that contains the reference and the target it tried to reach.
Source file
OEBPS/nav.xhtml
Target file
OEBPS/Text/chapter-03.xhtml
Anchor / fragment
The part after # in an internal link, such as #intro or #note-4.
Report may show
Target file exists: true. Target anchor exists: false.
Repair decision
Automatic only when one existing path or id differs by letter case, URL encoding, or both.
If the file is absent, moved, or renamed, restore or retarget it manually. Automatic repair is limited to a unique existing path or id with only case or URL-encoding differences.
2. Next step
Broken-link errors look similar, but the next step changes depending on whether the file path or the anchor is missing.
Upload scan
Use the scan to find the source XHTML, CSS, nav.xhtml, toc.ncx, or content.opf entry that contains the broken pointer.
Repair
Align the href, src, CSS URL, nav link, NCX target, or anchor only when exactly one packaged path or id is equivalent after case or URL-encoding comparison.
Manual review
Stop when choosing the target would change a chapter link, footnote, image, note, or reading location.
3. Concrete path example
The file before # can exist while the anchor after # is still missing.
EPUBCheck: RSC-012: OEBPS/nav.xhtml links to Text/chapter2.xhtml#intro Report: Source file: OEBPS/nav.xhtml Target file: OEBPS/Text/chapter2.xhtml Target file exists: true Target anchor exists: false Fix decision: automatic only if one existing id differs by case or URL encoding; otherwise manual
Do not point the link to the top of the chapter just to clear the validator error.
Quick decision
A path mismatch can be a small structural repair. A missing note, heading, or chapter target can change where readers land.
Scan first
Upload the EPUB so the report can show where the broken reference lives and which target failed.
Safe fix
Correct the reference only when exactly one existing packaged path or id is equivalent after case or URL-encoding comparison.
Stop
Do not guess footnote targets, repeated headings, missing chapters, or absent images.
Common situations
Start from the kind of target that failed, then decide whether repair is safe.
The XHTML or CSS reference resolves to a file that is not packaged at that exact path.
Repair automatically only for one case or URL-encoding path difference. A moved, renamed, or absent asset needs manual restoration.
The target XHTML exists, but the id after # is gone, renamed, or in another file.
Repair automatically only for one case or URL-encoding difference. A real rename or changed reading location is manual.
Navigation files often keep stale links after chapter renames or split/merge exports.
Update the navigation target only when the reading order still matches.
Broken EPUB links: internal href, src, CSS url(), nav.xhtml, toc.ncx, or anchor targets cannot be resolved.
KDP, Kindle Previewer, or EPUBCheck reports missing resources, broken fragments, stale navigation links, missing images, missing stylesheets, missing chapters, or footnote anchors that do not exist.
What it means
Common causes include renamed chapter files, changed folder case, URL-encoded spaces, moved images, removed CSS files, nav.xhtml links left from an older export, toc.ncx targets that no longer exist, and heading or footnote ids regenerated by the source tool.
Before you edit
Do not rename files or add anchors until the report shows whether the target file exists and whether the part after # exists inside that file.
Why KDP checks it
EPUBCheck checks EPUB 2 and EPUB 3 files against the official rules and reports package, markup, link, and file-reference problems.
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.
Repair example
Before: nav.xhtml links to Text/chapter-03.xhtml, but the package contains Text/chapter03.xhtml. After: the link can be aligned if that is the same chapter. Before: a footnote link points to #note-4 and no matching note is clear; that needs manual review.
Ready to retry?
The scan checks chapter links, image references, stylesheet URLs, nav.xhtml links, toc.ncx entries, and anchors. It keeps other EPUBCheck issues visible in the same report.
Upload EPUB to scanFAQ
Only a unique existing path or target id that differs from the reference by letter case, URL encoding, or both. Missing, moved, renamed, or ambiguous targets remain manual.
RSC_007 usually means the file path cannot be found. RSC_012 means the file exists, but the anchor or fragment after # is missing inside that file.
No. This entry focuses the report on link and anchor issues by default, but package, manifest, fatal, and unsupported issues still remain visible.
Only when you know exactly where the reader should land. Adding an anchor to the wrong heading or note can make the EPUB validate while sending readers to the wrong place.