|  03-21-2021, 10:33 PM | #1 | 
| Enthusiast  Posts: 42 Karma: 10 Join Date: Oct 2020 Device: MacBook, iPhone, Kindle Paperwhite | 
				
				413 Request Entity Too Large
			 
			
			When trying to add books from Content Server's browser UI, I almost always get "413 Request Entity Too Large" error. The entirety of the error message looks like: Code: Failed to upload the file: fyodor-dostoevsky_crime-and-punishment_constance-garnett.epub Failed to communicate with "/cdb/add-book/2/n/fyodor-dostoevsky_crime-and-punishment_constance-garnett.epub/Calibre", with status: [413 (error)] Request Entity Too Large 413 Request Entity Too Large nginx/1.18.0 (Ubuntu) | 
|   |   | 
|  03-21-2021, 11:07 PM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Check the size limits on http requests in nginx.conf.
		 | 
|   |   | 
| Advert | |
|  | 
|  03-22-2021, 12:00 AM | #3 | 
| Enthusiast  Posts: 42 Karma: 10 Join Date: Oct 2020 Device: MacBook, iPhone, Kindle Paperwhite | 
			
			Did not know it was default to only 1MB. Added the following to nginx.conf: Code: http {
    ...
    client_max_body_size 100M;
} | 
|   |   | 
|  | 
| Tags | 
| browser, calibre, content server, server, upload | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| recommendation request: need large screen e-reader, ideally waterproof, circa $500 | al2244 | Which one should I buy? | 7 | 03-20-2020 10:15 PM | 
| Find and replace entity | roger64 | Sigil | 3 | 10-12-2012 10:13 AM | 
| Entity not viewed in ADE | surendraps | Writers' Corner | 1 | 10-26-2010 08:12 AM | 
| The entity name must immediately follow the '&' in the entity reference | digireads | Calibre | 3 | 06-08-2010 10:31 PM | 
| Unutterably Silly Most users ever online was 1,413, 01-23-2005 at 10:03 AM | daffy4u | Lounge | 5 | 08-29-2008 11:06 PM |