0👍
What is your production environment setup ? Is it behind a proxy server ngnix, it looks like that your proxy server is rejecting the uploaded since there is limit set on proxy server.
If you are using ngnix you can set client_max_body_size to 50MB in ngnix config and restart your ngnix to reload config.
This should fix your first problem. [ 413 (Request Entity Too Large) ]
Source:stackexchange.com