I'm getting E999 error when trying to sent epub file to my Kindle via Amazon's Send to Kindle page
Originally created by @s3rg3ysh on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1148
I'm getting E999 error when trying to sent epub file to my Kindle via Amazon's Send to Kindle page
<img width="900" height="700" alt="Image" src="https://github.com/user-attachments/assets/469ba7da-b3be-4f03-80f1-3e3a4a65b16d" />
@kent-williams commented on GitHub (Jan 28, 2026):
I just tried and experienced the same thing
<!-- gh-comment-id:3812959592 -->
@kent-williams commented on GitHub (Jan 28, 2026):
I just tried and experienced the same thing
<img width="767" height="638" alt="Image" src="https://github.com/user-attachments/assets/2af9d12b-d423-49ea-a381-2a3d8a8445a9" />
Thanks @kent-williams and @s3rg3ysh for reporting!
Quick question — is this the first time you're trying to send it to Kindle, or has it worked for you before?
I myself just use PDF, so honestly, the EPUB isn't something I have thoroughly debugged or made perfect. But I know it works on other readers for sure. I just haven't heard anyone mention Kindle before.
<!-- gh-comment-id:3813902861 -->
@profvjreddi commented on GitHub (Jan 28, 2026):
Thanks @kent-williams and @s3rg3ysh for reporting!
Quick question — is this the first time you're trying to send it to Kindle, or has it worked for you before?
I myself just use PDF, so honestly, the EPUB isn't something I have thoroughly debugged or made perfect. But I know it works on other readers for sure. I just haven't heard anyone mention Kindle before.
It's first time to me, and this is only epub file (latest version) for this book I tried to upload via Send to Kindle page. I experienced the same error with other books as well, this for example https://github.com/victordibia/designing-multiagent-systems/issues/8. Unfortunately I cannot upload epub to my Kindle directly via USB, that only works for mobi files. Thanks
<!-- gh-comment-id:3813943476 -->
@s3rg3ysh commented on GitHub (Jan 28, 2026):
It's first time to me, and this is only epub file (latest version) for this book I tried to upload via Send to Kindle page. I experienced the same error with other books as well, this for example https://github.com/victordibia/designing-multiagent-systems/issues/8. Unfortunately I cannot upload epub to my Kindle directly via USB, that only works for mobi files. Thanks
Ah, interesting — so it's not specific to our book. If you're hitting E999 on multiple EPUBs, you might have an older Kindle model? I should really get a Kindle, maybe I can get my kid one and tell her it's to debug our book 😅
Use Calibre (free) to convert the EPUB to MOBI yourself — would that work? When I get a chance I will try to play around with the Kindle side, but it's the start of the semester so things are hectic here :) Appreciate your patience!
<!-- gh-comment-id:3814051951 -->
@profvjreddi commented on GitHub (Jan 28, 2026):
Ah, interesting — so it's not specific to our book. If you're hitting E999 on multiple EPUBs, you might have an older Kindle model? I should really get a Kindle, maybe I can get my kid one and tell her it's to debug our book 😅
Use [Calibre](https://calibre-ebook.com) (free) to convert the EPUB to MOBI yourself — would that work? When I get a chance I will try to play around with the Kindle side, but it's the start of the semester so things are hectic here :) Appreciate your patience!
Ah, interesting — so it's not specific to our book. If you're hitting E999 on multiple EPUBs, you might have an older Kindle model? I should really get a Kindle, maybe I can get my kid one and tell her it's to debug our book 😅
Use Calibre (free) to convert the EPUB to MOBI yourself — would that work? When I get a chance, I will try to play around with the Kindle side, but it's the start of the semester so things are hectic here :) Appreciate your patience!
I have latest Kindle Scribe device and about hundred other epub (even published in 2026) books which I have uploaded with no issues. It's still me (s3rg3ysh), just replied from another GH account
<!-- gh-comment-id:3814137939 -->
@bl00dny commented on GitHub (Jan 28, 2026):
> Ah, interesting — so it's not specific to our book. If you're hitting E999 on multiple EPUBs, you might have an older Kindle model? I should really get a Kindle, maybe I can get my kid one and tell her it's to debug our book 😅
>
> Use [Calibre](https://calibre-ebook.com) (free) to convert the EPUB to MOBI yourself — would that work? When I get a chance, I will try to play around with the Kindle side, but it's the start of the semester so things are hectic here :) Appreciate your patience!
I have latest Kindle Scribe device and about hundred other epub (even published in 2026) books which I have uploaded with no issues. It's still me (s3rg3ysh), just replied from another GH account
I am also facing the same issue and yes other books are going in fine to my kindle. I like Kindle because doesnt play on the eyes and gives distraction free reading experience.. Lets see :-(
<!-- gh-comment-id:3911920429 -->
@panth commented on GitHub (Feb 17, 2026):
I am also facing the same issue and yes other books are going in fine to my kindle. I like Kindle because doesnt play on the eyes and gives distraction free reading experience.. Lets see :-(
Another user has reported the same issue in #1174 (now closed as a duplicate), indicating that this is affecting multiple Kindle users.
I acknowledge that this is a real issue — the EPUB I generate is not passing Kindle's validation. Based on @bl00dny's feedback (regarding Kindle Scribe), it appears that other EPUBs work fine, so the problem lies with what I am rendering and not with the device. The root cause is likely that our Quarto-generated EPUB contains elements that stricter validators reject. I have to figure this out. We have already encountered this issue with ClearView in #1052, including double hyphens in XML comments, CSS variables, and other factors. Still sifting through this in the midst of all the semester craziness here :) Kindle's "Send to Kindle" service conducts its own validation and is rejecting the file as a result. So if folks know how I can test this that would be helpful. Or if someone can help that'd be even more awesome!
<!-- gh-comment-id:3917443905 -->
@profvjreddi commented on GitHub (Feb 17, 2026):
Another user has reported the same issue in #1174 (now closed as a duplicate), indicating that this is affecting multiple Kindle users.
I acknowledge that this is a real issue — the EPUB I generate is not passing Kindle's validation. Based on @bl00dny's feedback (regarding Kindle Scribe), it appears that other EPUBs work fine, so the problem lies with what I am rendering and not with the device. The root cause is likely that our Quarto-generated EPUB contains elements that stricter validators reject. I have to figure this out. We have already encountered this issue with ClearView in #1052, including double hyphens in XML comments, CSS variables, and other factors. Still sifting through this in the midst of all the semester craziness here :) Kindle's "Send to Kindle" service conducts its own validation and is rejecting the file as a result. So if folks know how I can test this that would be helpful. Or if someone can help that'd be even more awesome!
As option you can download Calibre E-Book Management, open epub in Calibre E-book Editor and use Check book tool by clicking on Bug icon or selecting Tools -> Check book. This will give you list of errors with explanation and link to place in a problem file. Every time you fix the problem re-run Book check that you can see more errors (if any). Hope that will help you to identify potential type of issues and address them in automated manner.
<!-- gh-comment-id:3949674530 -->
@s3rg3ysh commented on GitHub (Feb 24, 2026):
As option you can download [Calibre E-Book Management](https://calibre-ebook.com), open epub in Calibre E-book Editor and use Check book tool by clicking on Bug icon or selecting Tools -> Check book. This will give you list of errors with explanation and link to place in a problem file. Every time you fix the problem re-run Book check that you can see more errors (if any). Hope that will help you to identify potential type of issues and address them in automated manner.
<img width="1771" height="351" alt="Image" src="https://github.com/user-attachments/assets/1114bfee-9469-40a1-af82-6a76050294c8" />
Oh this is super helpful! Thanks a bunch @s3rg3ysh -- I've been deep in making some big edits and working on vol2 so will circle back to this soon.
<!-- gh-comment-id:3951740275 -->
@profvjreddi commented on GitHub (Feb 24, 2026):
Oh this is super helpful! Thanks a bunch @s3rg3ysh -- I've been deep in making some big edits and working on vol2 so will circle back to this soon.
@bluegardenink commented on GitHub (Apr 15, 2026):
faced the same with Kindle. used calibre to convert the web EPUB to EPUB. Working now. The page jumping is slow but eventually becomes smooth for page to page switch.
<!-- gh-comment-id:4254374141 -->
@bluegardenink commented on GitHub (Apr 15, 2026):
faced the same with Kindle. used calibre to convert the web EPUB to EPUB. Working now. The page jumping is slow but eventually becomes smooth for page to page switch.
Fixed @s3rg3ysh. Root cause was 11 epubcheck FATAL errors — Kindle's MOBI converter rejects any EPUB with a FATAL. Three categories:
-- inside HTML comment bodies (TikZ source emitted as <!-- \draw (a) -- (b); --> by the Quarto filter).
Bare <br> tags in tables (book's multi-line cell convention uses •<br> and Pandoc was emitting them unclosed).
C0 control characters leaking into SVG aria-label attributes from matplotlib title strings.
All three now sanitized at build time by the EPUB post-process, blocked at commit time via a new hygiene check, and CI runs epubcheck against a baseline so regressions show up as a failed build rather than a silent Kindle rejection. Both volumes now validate clean with epubcheck 5.3.0 (0 fatals / 0 errors / 0 warnings).
Your Calibre "Check Book" tip was exactly the diagnostic I needed — thanks for that. @bl00dny, your feedback about other EPUBs working on your Kindle Scribe was the signal that told me the problem was on my side, not the device's.
@all-contributors please add @s3rg3ysh for bug, doc
@all-contributors please add @bl00dny for bug
<!-- gh-comment-id:4284568119 -->
@profvjreddi commented on GitHub (Apr 20, 2026):
Fixed @s3rg3ysh. Root cause was 11 epubcheck FATAL errors — Kindle's MOBI converter rejects any EPUB with a FATAL. Three categories:
- `--` inside HTML comment bodies (TikZ source emitted as `<!-- \draw (a) -- (b); -->` by the Quarto filter).
- Bare `<br>` tags in tables (book's multi-line cell convention uses `•<br>` and Pandoc was emitting them unclosed).
- C0 control characters leaking into SVG `aria-label` attributes from matplotlib title strings.
All three now sanitized at build time by the EPUB post-process, blocked at commit time via a new hygiene check, and CI runs epubcheck against a baseline so regressions show up as a failed build rather than a silent Kindle rejection. Both volumes now validate clean with epubcheck 5.3.0 (0 fatals / 0 errors / 0 warnings).
Your Calibre "Check Book" tip was exactly the diagnostic I needed — thanks for that. @bl00dny, your feedback about other EPUBs working on your Kindle Scribe was the signal that told me the problem was on my side, not the device's.
@all-contributors please add @s3rg3ysh for bug, doc
@all-contributors please add @bl00dny for bug
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @s3rg3ysh on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1148
I'm getting E999 error when trying to sent epub file to my Kindle via Amazon's Send to Kindle page
@kent-williams commented on GitHub (Jan 28, 2026):
I just tried and experienced the same thing
@profvjreddi commented on GitHub (Jan 28, 2026):
Thanks @kent-williams and @s3rg3ysh for reporting!
Quick question — is this the first time you're trying to send it to Kindle, or has it worked for you before?
I myself just use PDF, so honestly, the EPUB isn't something I have thoroughly debugged or made perfect. But I know it works on other readers for sure. I just haven't heard anyone mention Kindle before.
@s3rg3ysh commented on GitHub (Jan 28, 2026):
It's first time to me, and this is only epub file (latest version) for this book I tried to upload via Send to Kindle page. I experienced the same error with other books as well, this for example https://github.com/victordibia/designing-multiagent-systems/issues/8. Unfortunately I cannot upload epub to my Kindle directly via USB, that only works for mobi files. Thanks
@profvjreddi commented on GitHub (Jan 28, 2026):
Ah, interesting — so it's not specific to our book. If you're hitting E999 on multiple EPUBs, you might have an older Kindle model? I should really get a Kindle, maybe I can get my kid one and tell her it's to debug our book 😅
Use Calibre (free) to convert the EPUB to MOBI yourself — would that work? When I get a chance I will try to play around with the Kindle side, but it's the start of the semester so things are hectic here :) Appreciate your patience!
@bl00dny commented on GitHub (Jan 28, 2026):
I have latest Kindle Scribe device and about hundred other epub (even published in 2026) books which I have uploaded with no issues. It's still me (s3rg3ysh), just replied from another GH account
@panth commented on GitHub (Feb 17, 2026):
I am also facing the same issue and yes other books are going in fine to my kindle. I like Kindle because doesnt play on the eyes and gives distraction free reading experience.. Lets see :-(
@profvjreddi commented on GitHub (Feb 17, 2026):
Another user has reported the same issue in #1174 (now closed as a duplicate), indicating that this is affecting multiple Kindle users.
I acknowledge that this is a real issue — the EPUB I generate is not passing Kindle's validation. Based on @bl00dny's feedback (regarding Kindle Scribe), it appears that other EPUBs work fine, so the problem lies with what I am rendering and not with the device. The root cause is likely that our Quarto-generated EPUB contains elements that stricter validators reject. I have to figure this out. We have already encountered this issue with ClearView in #1052, including double hyphens in XML comments, CSS variables, and other factors. Still sifting through this in the midst of all the semester craziness here :) Kindle's "Send to Kindle" service conducts its own validation and is rejecting the file as a result. So if folks know how I can test this that would be helpful. Or if someone can help that'd be even more awesome!
@s3rg3ysh commented on GitHub (Feb 24, 2026):
As option you can download Calibre E-Book Management, open epub in Calibre E-book Editor and use Check book tool by clicking on Bug icon or selecting Tools -> Check book. This will give you list of errors with explanation and link to place in a problem file. Every time you fix the problem re-run Book check that you can see more errors (if any). Hope that will help you to identify potential type of issues and address them in automated manner.
@profvjreddi commented on GitHub (Feb 24, 2026):
Oh this is super helpful! Thanks a bunch @s3rg3ysh -- I've been deep in making some big edits and working on vol2 so will circle back to this soon.
@bluegardenink commented on GitHub (Apr 15, 2026):
faced the same with Kindle. used calibre to convert the web EPUB to EPUB. Working now. The page jumping is slow but eventually becomes smooth for page to page switch.
@profvjreddi commented on GitHub (Apr 20, 2026):
Fixed @s3rg3ysh. Root cause was 11 epubcheck FATAL errors — Kindle's MOBI converter rejects any EPUB with a FATAL. Three categories:
--inside HTML comment bodies (TikZ source emitted as<!-- \draw (a) -- (b); -->by the Quarto filter).<br>tags in tables (book's multi-line cell convention uses•<br>and Pandoc was emitting them unclosed).aria-labelattributes from matplotlib title strings.All three now sanitized at build time by the EPUB post-process, blocked at commit time via a new hygiene check, and CI runs epubcheck against a baseline so regressions show up as a failed build rather than a silent Kindle rejection. Both volumes now validate clean with epubcheck 5.3.0 (0 fatals / 0 errors / 0 warnings).
Your Calibre "Check Book" tip was exactly the diagnostic I needed — thanks for that. @bl00dny, your feedback about other EPUBs working on your Kindle Scribe was the signal that told me the problem was on my side, not the device's.
@all-contributors please add @s3rg3ysh for bug, doc
@all-contributors please add @bl00dny for bug