Close Menu
Rob FaulsRob Fauls
    What's Hot

    Odoo 17- Change default email address

    March 10, 2024

    Odoo 17- Automated Install on Debian 12

    December 26, 2023

    Odoo 17- Manual Install on Debian 10/Debian 11/Debian 12

    November 8, 2023
    Facebook X (Twitter) LinkedIn
    • Home
    • VMware
      • Storage
    • Odoo
    • Linux
    • About
      • About Me
      • Privacy Policy
    Rob FaulsRob Fauls
    Home ยป Odoo – Enable Large Uploads (>1MB)
    Odoo

    Odoo – Enable Large Uploads (>1MB)

    Rob FaulsBy Rob FaulsAugust 4, 2022Updated:November 7, 2022No Comments
    Facebook Twitter LinkedIn Email Reddit Telegram
    Share
    Facebook Twitter LinkedIn Pinterest Email

    In this article, I’ll assume you’ve followed the Odoo 16- Install guide.

    When attempting to upload a PDF or image file to Odoo, you’ll find that any file larger than 1MB generates a popup error message:

    Odoo error- Request Entity Too Large
    UncaughtPromiseError > HTTPError
    Uncaught Promise > server responded with invalid JSON response (HTTP413): <html>
    <head><title>413 Request Entity Too Large</title></head>
    <body>
    <center><h1>413 Request Entity Too Large</h1></center>
    <hr><center>nginx/1.18.0</center>
    </body>
    </html>
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    
    HTTPError: server responded with invalid JSON response (HTTP413): <html>
    <head><title>413 Request Entity Too Large</title></head>
    <body>
    <center><h1>413 Request Entity Too Large</h1></center>
    <hr><center>nginx/1.18.0</center>
    </body>
    </html>
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    <!-- a padding to disable MSIE and Chrome friendly error page -->
    
        at XMLHttpRequest.<anonymous> (https://odoo.robfauls.com/web/assets/203-bb55336/web.assets_backend.min.js:962:69)

    The changes below will allow files up to 25MB in size to be uploaded to your Odoo server. If you’d like files larger than 25MB to be allowed, there are additional steps required. These changes involve configuration changes in the Odoo framework itself and is outside the scope of this article.

    To work around the 1MB limitation, edit “/etc/nginx/nginx.conf” and set “client_max_body_size 25M;”

    After making the change via VI/VIM/nano, save the file and then restart NGINX via “sudo systemctl restart nginx”

    Odoo Odoo15 Odoo16
    Previous ArticleOdoo – Overview
    Next Article Odoo 16- Manual Install on Debian 10/Debian 11/Debian 12

    Related Posts

    Odoo 17- Automated Install on Debian 12

    December 26, 2023

    Odoo 17- Manual Install on Debian 10/Debian 11/Debian 12

    November 8, 2023

    Odoo 16- Automated Install on Debian 12

    June 16, 2023

    Odoo – Hide “Manage databases” link in the login screen

    November 7, 2022
    Leave A Reply Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Editors Picks
    Latest Posts

    Odoo 17- Change default email address

    March 10, 2024

    Odoo 17- Automated Install on Debian 12

    December 26, 2023

    Odoo 17- Manual Install on Debian 10/Debian 11/Debian 12

    November 8, 2023

    Subscribe to Updates

    Get the latest content from Rob.

    I've worked in IT for over 20 years, servicing Government, Healthcare, and Private Sector customers. This is a relatively new adventure into blogging, mostly out of a realization that I need to organize some of my notes on various subjects. Hopefully the articles posted will help others along the way.

    You can connect with me here:

    LinkedIn X (Twitter) Facebook

    Subscribe to Updates

    Keep up to date with new articles posted about 'stuff and things'.

    © 2025 Rob Fauls. Hosted by Flatiron Networks.
    • Home

    Type above and press Enter to search. Press Esc to cancel.