# Salesforce Extraction Error Reference

The errors in this guide are specific to Salesforce integrations. Refer to the [Common SaaS extraction error reference](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/common-saas-extraction-error-reference) for errors common to all SaaS integrations.

These errors will surface in the integration’s [Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs).

* [OPERATION_TOO_LARGE: exceeded 100000 distinct who/what's. Consider asking your Salesforce System Administrator to provide you with the `View All Data` profile...](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#operation-too-large)
* [Salesforce has reported \[number\] (\[number\]%) total Bulk API quota used across all Salesforce Applications. Terminating replication to not continue past...](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#bulk-total-api-quota-limit)
* [Salesforce has reported \[number\] (\[number\]%) total REST API quota used across all Salesforce Applications. Terminating replication to not continue past...](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#rest-total-api-quota-limit)
* [This client does not have Bulk API permissions, received "API_DISABLED_FOR_ORG" error code](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#no-bulk-permissions)
* [This replication job has made \[number\] Bulk API jobs (\[number\]% of total quota). Terminating replication due to allotted quota of...](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#bulk-quota-per-job-limit)
* [This replication job has made \[number\] REST API requests (\[number\]% of total quota). Terminating replication due to allotted quota of...](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#rest-quota-per-job-limit)

### 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])
```

``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])``OPERATION\_TOO\_LARGE: exceeded 100000 distinct who/what's. Consider asking your Salesforce System Administrator to provide you with the `View All Data``View All Data` profile permission. (Stream: [stream])

| **Applicable to** | Salesforce v1 integrations |
| --- | --- |
| **Level** | Critical<br><br>the Remove icon<br><br>Data can't be replicated and intervention is required. Stitch will continue to re-try extraction based on the integration's schedule, but replication will not be successful until the issue is resolved. |
| **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.<br><br>From [Salesforce’s documentation](https://help.salesforce.com/articleView?id=000334313&type=1&mode=1):<br><br>> 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](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)  
[Back to top](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)

### 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.
```

`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.`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<br><br>the Remove icon<br><br>Data can't be replicated and intervention is required. Stitch will continue to re-try extraction based on the integration's schedule, but replication will not be successful until the issue is resolved. |
| **Category** | [Salesforce API quota usage](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce/v1#configure-standard-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.<br><br>**Note**: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available. |

[Back to Salesforce error list](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)  
[Back to top](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)

### 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.
```

`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.`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<br><br>the Remove icon<br><br>Data can't be replicated and intervention is required. Stitch will continue to re-try extraction based on the integration's schedule, but replication will not be successful until the issue is resolved. |
| **Category** | [Salesforce API quota usage](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce/v1#configure-standard-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.<br><br>**Note**: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available. |

[Back to Salesforce error list](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)  
[Back to top](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)

### Insufficient Bulk API permissions

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

`This client does not have Bulk API permissions, received "API_DISABLED_FOR_ORG" error code`This client does not have Bulk API permissions, received "API\_DISABLED\_FOR\_ORG" error code

| **Applicable to** | Salesforce v1 integrations |
| --- | --- |
| **Level** | Critical<br><br>the Remove icon<br><br>Data can't be replicated and intervention is required. Stitch will continue to re-try extraction based on the integration's schedule, but replication will not be successful until the issue is resolved. |
| **Category** | User/organization permissions |
| **Potential cause(s)** | This error can have different causes:<br><br><ul> <li>The Salesforce organization associated with the integration doesn’t have access to the Bulk API.</li> <li>The user does not have the <strong>View Setup and Configuration</strong> permission.</li></ul> |
| **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.<br><br>Otherwise, create a new Salesforce integration in Stitch and select **REST** for the integration’s Extraction API. |

[Back to Salesforce error list](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)  
[Back to top](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)

### 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.
```

`This replication job has made [number] Bulk API jobs ([number]% of total quota). Terminating replication due to allotted quota of [number]% per replication.`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<br><br>the Remove icon<br><br>Data can't be replicated and intervention is required. Stitch will continue to re-try extraction based on the integration's schedule, but replication will not be successful until the issue is resolved. |
| **Category** | [Salesforce API quota usage](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce/v1#configure-standard-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.<br><br>**Note**: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available. |

[Back to Salesforce error list](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)  
[Back to top](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)

### 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.
```

`This replication job has made [number] REST API requests ([number]% of total quota). Terminating replication due to allotted quota of [number]% per replication.`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<br><br>the Remove icon<br><br>Data can't be replicated and intervention is required. Stitch will continue to re-try extraction based on the integration's schedule, but replication will not be successful until the issue is resolved. |
| **Category** | [Salesforce API quota usage](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce/v1#configure-standard-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.<br><br>**Note**: While encountering this error will end the Extraction job, Stitch will resume replication when additional quota becomes available. |

[Back to Salesforce error list](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)  
[Back to top](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/salesforce-extraction-error-reference#)