Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Another 'Fragment identifier is not defined' epub error

Community Beginner ,
Dec 11, 2025 Dec 11, 2025
Hi team,
 
I've had this error come up in my EPUB file. 
I've gone to line 262 in the file but there's nothing notable here, or am I missing the point?
 
Fragment identifier is not defined.
OEBPS/Inspiring-Independence-ePub.xhtml, line: 262
 
TOPICS
EPUB
136
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 11, 2025 Dec 11, 2025

I think that error means there’s a link in your EPUB pointing to an anchor (the bit after the # in a hyperlink) that doesn’t actually exist. It’s not the text on line 262 itself, but a hyperlink near that line trying to jump to an ID that isn’t in the file anymore often caused by a missing heading ID, a broken cross-reference, or an outdated TOC link. Check any links around that line for #something and make sure the matching id="something" exists elsewhere in the XHTML. Re-exporting or updating cross-references in InDesign often fixes it too.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 12, 2025 Dec 12, 2025

Thanks for your answer. When I export the file to epub I also get this message: Text anchor not found: 15.

I've run a script to find all text anchors and deleted them. But I still get the same error message. I've also saved as an IDML file and resaved as ID to no avail. If there are no text anchors in teh document how can one be missing? 😕

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2025 Dec 13, 2025
LATEST

There's a hangup somewhere.

 

Try exporting the pages in ranges and see where the problem lies.

 

Or try moving the pages to a new document see if it persists.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines