Getting 404 error page when trying to update a page

I’m getting an 404 error page right after clicking on the Update button any time I try to add some large texts on the page I’m editing.

I tried disabling all plugins and switching to a default theme but the issue is still there.

Resetting the permalinks did not work and replacing the content of .htaccess by the default one did not work either.