![]() |
#1 |
Unconscionable
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 25000
Join Date: Sep 2022
Location: Helsinki
Device: Kindle
|
EPUB constantly rejected by Amazon
So, I have a 20 mb EPUB that can be opened with Calibre, Sigil, and iBooks without any problem.
However, when I send it to my Kindle via the 'Send to Kindle' website, there is always an error in the internal Amazon conversion process. I have tried converting the book with Calibre in multiple ocasions: from EPUB to MOBI, and then from MOBI to EPUB, etc, but the result is always the same: Amazon rejects the book. To identify the error, I attempted to open the file with Kindle Previewer 3 and received the following message: Code:
Type,"Description" Error,"E24010: Hyperlink not resolved in toc (One possible reason can be that the link points to a tag with style display:none):/private/var/folders/0m/twgjxfd14n314ytm3p03x0fm0000gn/T/56cbc7d0-1984-467f-8e94-ef4b03ab3400/cTemp/mTemp/mobi-h40ikQ/OEBPS/xhtml/01_TitlePage.html#","","","","" Error,"E24001: The table of contents could not be built.","","","","" Status,"Book conversion failed." |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,260
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Convert to azw3 in calibre and send to your kindle via usb, no sense in fighting amazon.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,831
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#4 |
Unconscionable
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 25000
Join Date: Sep 2022
Location: Helsinki
Device: Kindle
|
It's just so weird.
I ran a bug scan with Calibre and it fixed the issue. Then Amazon rejected the file. I rewrote the entire TOC with Sigil. Then Amazon rejected the file. Kindle Previewer is already able to open it, yet Amazon rejects the file! I'll have to use the USB method as you suggest. |
![]() |
![]() |
![]() |
#5 | ||
Unconscionable
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 25000
Join Date: Sep 2022
Location: Helsinki
Device: Kindle
|
Quote:
Quote:
Additionally, even after Sigil ran the bug check and fixed whatever it found, Amazon still cannot convert the epub. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,831
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
That is mostly since Kovid does not like adding the .DOCTYPE for unknown reasons and the cover generation/insertion routine does not add the required lines for an ePub 2 file. The first code block is what calibre uses, the second code block is what Sigil modifies it to for ePub 2 and the third block is Sigil modifies it to for ePub 3. For me, it's not worth the time and effort to argue about this, I just use Sigil to modify the code.
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:epub="http://www.idpf.org/2007/ops"> <head> Last edited by DNSB; 01-17-2024 at 10:22 PM. |
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,005
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Sigil differs from Calibre in its interpretation of the epub3 spec about the need for doctype tags, especially for epub2 epubs that use named entities. Calibre interprets the spec differently saying these are optional.
But having a proper doctype can not hurt so Sigil offers to fix that for you. But I doubt very much that this is in any way related to your rejection by Amazon at all. Try running your epub through the epubcheck plugin and fixing any issues it detects. The read up on the kindle guidelines to make sure you are not using things unsupported in kindle. |
![]() |
![]() |
![]() |
#8 | |
Unconscionable
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 25000
Join Date: Sep 2022
Location: Helsinki
Device: Kindle
|
Quote:
However, something curious happened a minute ago. I sent the unmodified epubs to my phone with AirDrop and then sent them to Kindle. They went straight to the Amazon cloud without any issue. The bottom line of all this is: I do not have a clue what could be causing the rejection of the ebooks. |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 227000000
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
![]() |
![]() |
![]() |
#10 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,038
Karma: 307903668
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
![]() |
![]() |
![]() |
#11 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,831
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
A while back when Amazon first started allowing ePub to be sent to Kindle, quite a few people were complaining about rejected submissions. I looked at a fair number of scrambled ebooks and very few of them passed epubcheck. The ones that did pass epubcheck had items such as ToC entries pointing at an tag with display: none, pointing to an ID in the <body> tag, pointing at IDs that were incorrectly formatted (the invalid XML name error) or pointing at nothing in particular. Then there were a couple where nothing seemed to be wrong and I ended up having to click on every link to see if it worked.
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,811
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sigil doesn't have an inherent "bug check" for epubs. It can validate/correct some xhtml (and can check your css if you tell it to), but if you want to see if your epub is actually valid according to the epub spec, you'll want to install a validation plugin (like epubcheck that many people have been mentioning).
|
![]() |
![]() |
![]() |
#13 | |
Unconscionable
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 87
Karma: 25000
Join Date: Sep 2022
Location: Helsinki
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,831
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,652
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
amazon, calibre, conversion, error, kindle |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Yorker email epub to Kindle rejected in recent weeks | mkgtu | Recipes | 0 | 11-28-2022 12:58 PM |
New York Times epub format rejected by Amazon | mkgtu | Recipes | 5 | 06-29-2022 09:38 PM |
Calibre's conversion to .mobi is suddenly being rejected by Amazon document service | gweminence | Conversion | 2 | 06-25-2017 02:51 AM |
Converted ePUB rejected by Google Play Books | farleylai | Conversion | 2 | 09-27-2014 11:43 PM |
Calibre epub rejected by Apple store | starrigger | Conversion | 11 | 08-23-2011 03:55 PM |