Error: POST files/upload: Error (413) on sync

I have Joplin on three windows machines, each running window 10, and on one android. All work well accept on one laptop. When syncing, I get the error message:

Created remote items: 1.
Completed: 09/25/2020 10:16 PM
Last error: Error: POST files/upload: Error (413):

and some html code. This machine does not sync. What is this error and how do I fix it?

Thanks,

Walt Paczkowski

1 Like

This is happening with my Mac recently. I had added videos to some notes, by dragging them to the note from my Mac thinking I was doing "a link". Realized the mistake, I revamped the note to point to the video using file:/// and then removed the videos from the note. Error still persists.

Last error: Error: POST files/upload: Error (413): <!DOCTYPE html> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Dropbox - 4xx</title> <link href="https://cfl.dropboxstatic.com/static/css/error.css" rel="stylesheet" type="text/css"/> <link rel="shortcut icon" href="https://cfl.dropboxstatic.com/static/images/favicon.ico"/> </head> <body> <div class="figure"> <img src="https://cfl.dropboxstatic.com/static/images/illustration_catalog/404_error-illo.png" srcset="https

I'm getting this error now on Mac as well. Any tips to resolve?

In my case (selfhosted joplin on remote ubuntu 22.04), it was due to a config issue of the reverse proxy (nginx)

To fix it, I had to add the following line to /etc/nginx/nginx.conf, inside "http" section

#100M , or other sensible size you want to try ...
client_max_body_size 100M;

After this, the sync completed successfully

1 Like