Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • E-learning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Artificiële Intelligentie
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelwinkel
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Horeca & Hospitality
    • Bar en café
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van mede-eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brouwerij
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Diensten
    • Klusjesman
    • IT-hardware & ondersteuning
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Alle bedrijfstakken bekijken
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijsprogramma
    • Scale Up! Business Game
    • Odoo bezoeken
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Partner worden
    • Diensten voor partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

413 Request Entity Too Large error in Odoo 18E occurs when a file upload

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
Odoo.shOdoo18
1 Beantwoorden
792 Weergaven
Avatar
Nikhil Nakrani

We are using Odoo 18 Enterprise on Odoo.sh. We have a Proof menu where users upload a PDF file. The field used for this upload is a Binary field.

When we upload the PDF and try to save the record, we encounter the error shown below.

I checked existing answers on the Odoo forum, but none of them resolved the issue. I also reviewed the following GitHub issue:

https://github.com/odoo/odoo/issues/212746

This issue has been reported by other users as well, but so far there is no confirmed solution available.

werkzeug.exceptions.RequestEntityTooLarge: 413 Request Entity Too Large: The data value transmitted exceeds the capacity limit.

  • I already try this solution but this only work in local machine.
  • from odoo import http
  • http.DEFAULT_MAX_CONTENT_LENGTH = 1024 * 1024 * 1024 # 1GB 

Thanks 


0
Avatar
Annuleer
Christoph Farnleitner

What is your actual file size? Is there enough space assigned to your sh instance?
Also, there is a document.max_fileupload_size in System parameters, set to 67MB by default - but I doubt you can tweak it enough from here.

Codesphere Tech

Hello Nikhil,
This issue is not caused by Odoo itself but by request size limits on Odoo.sh. Increasing http.DEFAULT_MAX_CONTENT_LENGTH works only in local environments because Odoo.sh enforces a reverse proxy limit (typically around 25–50MB), which cannot be modified.
Reduce or compress the PDF before uploading. You can also use ir.attachment instead of a Binary field, but keep in mind that large files will still impact storage and database size.
Let's wait if any one has solution for this
Thanks

Avatar
Zehntech Technologies Inc.
Beste antwoord

Hello, 

This issue typically occurs due to upload size limits enforced at the Odoo.sh infrastructure level, not just within Odoo itself.

While increasing DEFAULT_MAX_CONTENT_LENGTH may work in a local setup, it does not override the reverse proxy (nginx) limits on Odoo.sh, which are not directly configurable.

As a workaround, you can consider:

  • Reducing/compressing the PDF size before upload
  • Storing large files externally (e.g., cloud storage like S3, Google Drive) and saving only the link in Odoo
  • Splitting large files into smaller parts if applicable

At the moment, there is no confirmed native fix for this limitation on Odoo.sh.

Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
How to Add a User to Access the Database on Odoo.sh? Opgelost
Odoo.sh
Avatar
Avatar
1
nov. 25
5875
Odoo.SH Github account ownership transfer, trying to change the repository
Odoo.sh
Avatar
Avatar
1
jun. 26
10015
Odoo.sh sale commission Opgelost
Odoo.sh
Avatar
Avatar
1
aug. 23
3884
Odoo.sh Bad Gateway
Odoo.sh
Avatar
0
jun. 26
4970
"Odoo.sh authentication failure" message when trying to access Odoo.sh Projects Opgelost
Odoo.sh odoo down
Avatar
Avatar
1
jun. 26
547
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Partner worden
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now