function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ecoxecox 

Data Loader Error: Maximum Size of Request Reached

I am trying to insert into ContentVersion with the Data Loader.  I successfully loaded 479 records on Friday, but when I tried this group of only 188 records, I got this error: Maximum Size of Request Reached.  Maximum Size of Request is 52428800 bytes.  I thought that I had hit a daily governor limit, but I am getting the same error today.  None of the files are larger than 1M and there is plenty of doc storage room in my sandbox.  I have tried using the Bulk API and zip files settings.  Anyone know what's going on?
Vinita_SFDCVinita_SFDC
Hello,

In most circumstances the Batch size limit via the API on attachment or Content import is ~50MB.  So if you have selected a large batch size and a batch's content exceeds this total for any given batch you will receive the error.
To resolve the error set the batch size limit to 1 in the Apex Data Loader Settings menu or alternatively reduce your import file's size.
For more information on setting the batch size for the Data Loader please visit this article:

https://help.salesforce.com/apex/HTViewHelpDoc?id=configuring_the_data_loader.htm&language=en
James DornJames Dorn
Another option to integrate Salesforce data is Skyvia (https://skyvia.com/data-integration/salesforce-data-loader). It is freemium and has a very intuitive UI.