The errors in this guide are specific to Salesforce integrations. Refer to the Common SaaS extraction error reference for errors common to all SaaS integrations.

These errors will surface in the integration’s Extraction Logs.

Request result set is too large for Salesforce

OPERATION_TOO_LARGE: exceeded 100000 distinct who/what's. Consider asking your Salesforce System Administrator to provide you with the `View All Data` profile permission. (Stream: [stream])
Applicable to

Salesforce v1 integrations

Level Critical
Category

Salesforce user permissions

Potential cause(s)

The user who authorized the integration in Stitch doesn’t have the View All Data permission, which is required to successfully query a large number of Activity records.

From Salesforce’s documentation:

When a user without the View All Data permission tries to run a report on Activities which queries a large number of related records, the user may receive an error message saying Operation too Large or Exceeded 100000 distinct who/what's in a Report.

Suggested action(s)

The user who authorized the integration in Stitch should reach out to a Salesforce System Administrator and request the View All Data permission. This should allow replication to complete successfully.

Back to Salesforce error list
Back to top

Total Bulk API quota reached

Salesforce has reported [number] ([number]%) total Bulk API quota used across all Salesforce Applications. Terminating replication to not continue past configured percentage of [number]% total quota.
Applicable to

Salesforce v1 integrations

Level Critical
Category

Salesforce API quota usage

Potential cause(s)

Stitch reached the limit for the total API quota the integration is configured to use. This is controlled by the integration’s Max Percentage of total standard API quota setting.

Suggested action(s)

Review your overall Salesforce API usage and adjust either the integration’s settings or your usage in other applications.

Note: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available.

Back to Salesforce error list
Back to top

Total REST API quota reached

Salesforce has reported [number] ([number]%) total REST API quota used across all Salesforce Applications. Terminating replication to not continue past configured percentage of [number]% total quota.
Applicable to

Salesforce v1 integrations

Level Critical
Category

Salesforce API quota usage

Potential cause(s)

Stitch reached the limit for the total API quota the integration is configured to use. This is controlled by the integration’s Max Percentage of total standard API quota setting.

Suggested action(s)

Review your overall Salesforce API usage and adjust either the integration’s settings or your usage in other applications.

Note: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available.

Back to Salesforce error list
Back to top

Insufficient Bulk API permissions

This client does not have Bulk API permissions, received "API_DISABLED_FOR_ORG" error code
Applicable to

Salesforce v1 integrations

Level Critical
Category

User/organization permissions

Potential cause(s)

This error can have different causes:

  • The Salesforce organization associated with the integration doesn’t have access to the Bulk API.
  • The user does not have the View Setup and Configuration permission.
Suggested action(s)

Contact a Salesforce administrator or Salesforce support to inquire about obtaining the required permissions. Once access is granted, you’ll be able to use the Bulk API.

Otherwise, create a new Salesforce integration in Stitch and select REST for the integration’s Extraction API.

Back to Salesforce error list
Back to top

Per job Bulk API quota reached

This replication job has made [number] Bulk API jobs ([number]% of total quota). Terminating replication due to allotted quota of [number]% per replication.
Applicable to

Salesforce v1 integrations

Level Critical
Category

Salesforce API quota usage

Potential cause(s)

The current replication job used the total amount of API quota the integration is configured to use. This is controlled by the integration’s Max Percentage of standard API quota per job setting.

Suggested action(s)

Review your overall Salesforce API usage and adjust either the integration’s settings or your usage in other applications.

Note: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available.

Back to Salesforce error list
Back to top

Per job REST API quota reached

This replication job has made [number] REST API requests ([number]% of total quota). Terminating replication due to allotted quota of [number]% per replication.
Applicable to

Salesforce v1 integrations

Level Critical
Category

Salesforce API quota usage

Potential cause(s)

The current replication job used the total amount of API quota the integration is configured to use. This is controlled by the integration’s Max Percentage of standard API quota per job setting.

Suggested action(s)

Review your overall Salesforce API usage and adjust either the integration’s settings or your usage in other applications.

Note: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available.

Back to Salesforce error list
Back to top


Questions? Feedback?

Did this article help? If you have questions or feedback, feel free to submit a pull request with your suggestions, open an issue on GitHub, or reach out to us.