---
schema_version: "1"
id: ae8192a3d690fd4623d5e7f073e02a8c2ed3c47d5b98ff2948abc9255e1aa02b
title: Identify and Resolve Failed Execution
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/identify_and_resolve_failed_execution.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.identify_and_resolve_failed_execution.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6d8eb6adedfb68b5f28933b7fef87a4562d6f725dd6241ced17130212bc5e153
description: When an execution fails, check that Heroku is properly installed and connected. Then run a report or query to identify the failed records and find possible next steps to resolve the error.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Identify and Resolve Failed Execution

When an execution fails, check that Heroku is properly installed and connected. Then run a report or query to identify the failed records and find possible next steps to resolve the error.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: all editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d20955e52">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d20955e52 ">To resolve failed executions:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d20955e52 ">ModifyAllData and PrivacyCenter</td>

        </tr>
      </tbody>
    </table>

When an execution fails, first confirm that Heroku is properly installed and connected. Make sure that your org is onboarded and that Heroku is installed with a member of the Privacy Center production team. If your org is correctly configured with Heroku, either [run a report](https://trailhead.salesforce.com/en/content/learn/projects/quickstart-reports) on the object or [run a query](https://trailhead.salesforce.com/content/learn/modules/developer_console) in the Developer Console. To identify the records that failed during execution, look for any instance where the Last Modified Date and the date of the execution aren’t equal.

After identifying which records failed, check the Run Logs or Apex jobs for details on the cause of the failure, and then resolve any errors. To check that the errors are resolved, first deactivate and then reactivate the policy to schedule the policy again. Then, from the Retention Policies page, find the name of your policy and click **Run**. You can also make your new execution more specific by applying a Data Filter to the Policy that matches the failed records. Although the specific filters vary depending on the use case, the same Last Modified Date is a good place to start.