When you attempt to import attachments or content into Salesforce, you may receive an error: "Maximum size of request reached. Maximum size of request is 52428800 bytes."
The Salesforce API enforces a maximum batch size of approximately 50 MB (52,428,800 bytes) per batch when importing Attachment or Content records via Data Loader. If a single batch's combined file size exceeds this limit, the import fails with the error:
'Maximum size of request reached. Maximum size of request is 52428800 bytes.
To resolve this error, choose one of the following options:
Option 1: Reduce Batch Size
In Data Loader Settings, set the batch size to 1. This ensures each batch contains a single record and avoids exceeding the 50 MB limit.
Option 2: Reduce File Size
Split your import file into smaller files, each with a total content size below 50 MB. For more information on configuring batch size, see Configure Data Loader (link in Additional Resources).
000384730

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.