ERROR: Server operation too large (error code 1150)

Issue

The 'Server operation too large' error occurs when a query exceeds the governor limits established by Salesforce.

Governor limits are usage caps imposed by Salesforce to prevent server issues and improve performance.

Solution

Pulsar, as a client application, has to use the standard API calls to query the data during the sync process. Governor limits apply to these queries. If you have Pulsar Settings installed in your org, you can apply sync filters and other sync parameters to reduce the number of records you are syncing. If you don't have Pulsar Settings in your org yet, refer to this page on how to install and set up these filters:  Data Sync Settings

Use filters to reduce the number of records you are syncing to stay below the governor limits.

Example log

[2020-06-15 11:32:07,579624][ERROR][1608] - Server operation too large (Attachment, wave 0)
[2020-06-15 11:32:07,579624][ERROR][1608] - syncCompleteQueryModifiedSObject failed (Attachment, 1150)
[2020-06-15 11:32:07,579624][ERROR][1608] - syncQueryModifiedIfNecessary failed (1150)

Note: The sample error message refers to the Attachment object but you could see this error against any object. You may also find this Salesforce article helpful for understanding the error.

 

Related pages