---
schema_version: "1"
id: 44b8f8c41162c3ddb9f723f2bd02eef849f020ed85421631df93075b6c11008b
title: Common Errors and Warnings in the Archive App
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/archive_common_errors_and_warnings.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.archive_common_errors_and_warnings.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 771dba6c4757d1af2cc33ae78d1b70ee6607876cdd3b97411f797b3bbe3cfae1
description: Errors and warnings that occur when using the Archive app, and how to solve them.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Common Errors and Warnings in the Archive App

Errors and warnings that occur when using the Archive app, and how to solve them.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:13.513513513513512%">
          <col style="width:35.27027027027027%">
          <col style="width:29.72972972972973%">
          <col style="width:21.486486486486488%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22220e42">Error Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22220e45">Error Code</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22220e48">Reason</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d22220e51">Solution</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Blocked Domain</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">This site can't be reached. <a href="http://app1.archive.owndata.com" target="_blank">app1.archive.owndata.com</a> unexpectedly closed
              the connection.</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">A firewall is blocking <a href="http://owndata.com" target="_blank">owndata.com</a> domain and failing the re-authentication
              process.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">If this message appears during the onboarding or re-authenticating process,
              contact Salesforce Support to verify whether Allowlisting is required to access the
              Own domain.</td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Bulk Delete Process Halted</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Bulk Delete Process Halted</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The process failed as part of the bulk delete process.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Update these configuration settings.</p>
              <ul>
                <li>Deselect the hard delete option in the Archive Settings.</li>

                <li>If one of the children failed to delete because of the lookup relation, if
                  possible, deselect the lookup relation.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Connection Reset by Peer Connection Aborted</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">WARNING: Connection Reset by Peer Connection Aborted</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">Likely temporary connection issues with Salesforce. Archive runs and re-runs
              the policy as scheduled on a daily, weekly, or monthly basis but gets the same
              error.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt one of these solutions. </p>
              <ul>
                <li>Rerun the operation.</li>

                <li>Wait for the next archive policy run.</li>

                <li>Reduce the number of lookups in the archive policy.</li>

                <li>If it includes lookup children, split the archive policy. Add other Archive
                  policies where the root objects are the lookup children.</li>

                <li>If these previous methods fail to resolve the error, contact Salesforce
                  Support. An internal optimization that reduces the probability of getting this
                  error from Salesforce.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Custom Trigger Error</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Class.TriggerName</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">Custom triggers have been set up and are causing Archive or Unarchive
              errors.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt one of these solutions. </p>
              <ul>
                <li>Disable the trigger during the Archive or Unarchive action.</li>

                <li>If the custom triggers were implemented with
                  <code>byPassValidationAssign</code>, assign the Integration User bypass
                  triggers.
                </li>

                <li>Amend the custom trigger logic so that Archive can bypass it.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Delete Operation Too Large</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">DELETE_OPERATION_TOO_LARGE: Cascade dereferencing too many records</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">This issue is commonly the result of a large number of records being associated
              with the deleted record through a master-detail or lookup relationship.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">To resolve record deletion performance issues, identify and delete related
              records, and empty them from the Recycle Bin. For more information, see <a href="https://help.salesforce.com/s/articleView?id=000382586&amp;type=1&amp;language=en_US" target="_blank">Error 'Delete Operation Too Large' or too slow when
                you delete records</a>.</td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Enable Email Drafts for Cases Not Enabled</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">INVALID_OPERATION</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">Enable Email Drafts for Cases feature isn't enabled.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">To insert the email message, add the option to enable Draft emails. For more
              information, see <a href="https://help.salesforce.com/s/articleView?id=case_interaction_enabling_email_drafts.htm&amp;type=5&amp;language=en_US" target="_blank">Enable Email Drafts for Cases</a>.</td>

          </tr>

          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Field Custom Validation Exception—Bad Restricted Picklist Value</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">FIELD_CUSTOM_VALIDATION_EXCEPTION: Bad value for restricted picklist
              field</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">
              <p>When unarchiving, Salesforce can encounter data validations such as validation
                rules, restricted picklist, and duplicate rules. In addition to this error message,
                you can receive one of these messages. </p>
              <ul>
                <li><code>Validation rule message</code></li>

                <li><code>sf_delete_error_message_object: status_code:
                      FIELD_CUSTOM_VALIDATION_EXCEPTION</code></li>

                <li><code>error_message: bad value for restricted picklist field: Closed Lost -
                      Account Merged; Originating Class:
                      UpdateOpportunityBeforeMergeAccount</code></li>

                <li><code>object_id: 001C000001CVN1sIAH</code></li>

              </ul>
            </td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt one of these solutions. </p>
              <ul>
                <li>Deselect restricted picklist value and add a new value.</li>

                <li>Deactivate the new picklist value and replace it with an existing picklist
                  value.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Integrated User Has Limited Permissions</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">The integration user has limited permissions</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The permission to query storage details using the tooling API is
              missing.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Add these permissions.</p>
              <ul>
                <li>API enabled</li>

                <li>Manage Multi-Factor Authentication in API</li>

                <li>View Setup and Configuration</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Insufficient Access on Cross-Reference Entity</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: insufficient access rights on
              cross-reference id: [different record id]</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">Unarchiving requires a reference to the above record, and the Integration User
              can't access it.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Verify whether the referenced record exists. If the record exists, verify the
                Integration User's permissions to the record. Verify the Integration User has the
                <code>ModifyAllData</code> permission.
              </p>
              <p style="margin-bottom:0;">If the error persists, contact
                Salesforce Support.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Invalid Record ID</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Invalid Record ID</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The External Lookup Relationship reference field isn't supported when expanding
              the object record page layout to view records via the Archive component or Archive
              Search.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">Remove the External Lookup Relationship field from the component or
              Archive Search fields configuration.</td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Modify All Permission Required</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">WARNING: Root object of type</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">A Modify All permission is missing, or Salesforce encountered internal issues
              with references.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Verify that the Integration User has Modify All permission on the relevant
                record type.</p>
              <p style="margin-bottom:0;">If the error persists, contact Salesforce Support.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">OAuth Access Blocked</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">
              <p>One or more of these symptoms occur:</p>
              <ul>
                <li>Archive dashboard doesn't load or shows access errors</li>

                <li>Connected App shows blocked actions in OAuth Usage</li>

                <li>Can't access Archive after updating permission sets</li>

              </ul>
            </td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">Permission changes can invalidate OAuth tokens. Connected App policies may block access.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt these solutions in order.</p>
              <ul>
                <li>In Setup, go to <strong class="uicontrol">Connected Apps</strong> &gt; <strong class="uicontrol">Connected Apps OAuth Usage</strong>.</li>

                <li>In the Search field, enter <kbd>Archive</kbd>, then select your Archive app.</li>

                <li>Verify that all actions associated with the app are unblocked. If you see blocked actions, select them and click <strong class="uicontrol">Unblock</strong>.</li>

                <li>Review the Connected App policies and verify that the System Administrator and Integration User profiles are listed under <strong class="uicontrol">Permitted Users</strong>. If these profiles are missing, add them to the permitted users list.</li>

                <li>From the App Launcher, open <strong class="uicontrol">Archive</strong> and verify that the dashboard loads without errors.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Record Failed to Delete</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Unknown_Exception</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The record failed to delete. No Salesforce error due to Salesforce unknown
              exception.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt one of these solutions. </p>
              <ul>
                <li>Reduce the archive policy limit to a smaller number and rerun the policy.</li>

                <li>Delete one of the IDs manually.</li>

                <li>If the error persists, contact Salesforce Support.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Record No Longer Exists</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Unable to unarchive object with original Salesforce Id:01a2B345673rkcaABC.
              Reference IDs not found: [list of records]</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The record you're trying to unarchive references a record that's no longer in
              Salesforce or in Archive. The reference field is <code>obj.field</code>.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Unarchive by disconnecting the root-child relationship.</p>
              <p>After you export and
                download the record, locate the record ID in the CSV file.</p>
              <p>Nullify the
                field, save your changes, and import the file to Salesforce via an ELT
                tool.</p>
              <p style="margin-bottom:0;">Then purge the record from the Archive database.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Related Tab Error</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Error Show related object details operation encountered an error, contact
              support and provide them with this Error code - 10085#10087#10142#10178</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">Clicking the Related tab in Archive Search triggers an error.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">Verify the Archive Settings under Search and Component Layout. Remove any
              non-indexed fields from the selected fields.</td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Revoked Authentication Token</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Get Organization Storage Statistics operation encountered an error, please
              contact support and provide them with this Error code -
              <code>10076#10035#10200</code>.
            </td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The authentication token has been revoked or IP access is blocked to the
              Archive backend servers.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt one of these solutions. </p>
              <ul>
                <li>Verify Archive is installed properly.</li>

                <li>Review IP restrictions and verify access to the Archive servers is allowed.
                  For more information, see <a href="https://help.salesforce.com/s/articleView?id=platform.platform_o_aws_regions_for_allowlist.htm&amp;type=5&amp;language=en_US" target="_blank">Regions and IP Addresses for
                    Allowlisting</a>.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Secure Static Resources for Lightning Components Error</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Error: lightning/platformResourceLoader encountered an error loading. The
              Archive page fails to load.</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">
              <p>Secure Static Resources for Lightning Components is enabled, which can happen
                when you: </p>
              <ul>
                <li>Download execution details from Activities tab.</li>

                <li>Load Archive Dashboard custom components in the home page.</li>

                <li>Load Archive Search.</li>

                <li>Reconfigure the Region.</li>

              </ul>
            </td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Contact Salesforce Support and request to deactivate these Secure Static
                Resources for Lightning components. </p>
              <ul>
                <li><code>AuraSecStaticResCRUCPerm</code>—Permission to hide Aura Secure
                  Static Resources release update on new orgs.</li>

                <li><code>AuraSecStaticResCRUCPref</code>—Org preference that enables Aura
                  Secure Static Resources release update.</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Too Many Failures</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Too_many_failures: failures limit crossed</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">A query failed to archive records due to a trigger, dependency, or validation
              rule.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Disable the trigger or validation rule that inhibits the policy from deleting
                this record.</p>
              <p style="margin-bottom:0;">If this error is due to a dependency, archive the referenced
                dependency before you archive the record.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Unarchive Apex Request Rate Exceeded</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Error Message: {"error_code": "VALIDATION _ERROR", "error_message": "Exceeded
              maximum Unarchive SDK request rate."}</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">You sent too many requests within the given time. Apex supports up to 50
              Unarchive requests per hour.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">Wait and try again later.</td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Wrong Archived Root Record Referenced</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Unarchive Failed: The record can't be unarchived because it references another
              archived root record. To resolve this issue, adjust the Unarchive Reference setting
              and try again.</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">Unarchive failed because the record references another archived root
              record.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">Update the Unarchive Reference setting to permit unarchiving of records with
              archived references.</td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Wrong Reference ID</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">Unable to unarchive object with original Salesforce Id: 01a2B345673rkcaABC
              Reference IDs currently archived: [list of archived records]</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The record you're trying to unarchive references another archived record. The
              missing records are listed in the the Failed Records column of a CSV file that you
              can download from the Activities tab.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt one of these solutions.</p>
              <ul>
                <li>Unarchive the root record before unarchiving the child record. For more
                  information, see <a href="https://help.salesforce.com/s/articleView?id=xcloud.archive_unarchive_from_archive_search_or_widget.htm&amp;release=264.0.0&amp;type=5" title="Restore archived records with Archive Search or the Archive component in the Archive app.">Enable Unarchive When Parent Record Archived</a>.</li>

                <li>Unarchive by disconnecting the root-child relationship. <p>After you export
                    and download the record, locate the record ID in the CSV file.</p>
                  <p>Nullify
                    the field, save your changes, and import the file to Salesforce via an ELT
                    tool.</p>
                  <p>Then purge the record from the Archive database.</p>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Error Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e42 ">Policy Preview No Records Found</td>

            <td data-label="Error Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e45 ">No records matching your policy criteria were found in the preview sample. All records were filtered by policy constraints, such as ContentDocument owner requirements.</td>

            <td data-label="Reason" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e48 ">The policy preview filtered all candidate records due to policy constraints. This can happen when your SOQL query returns records that don't meet the policy's filtering requirements.</td>

            <td data-label="Solution" class="slds-cell-wrap" style="vertical-align:top;" headers="d22220e51 ">
              <p>Attempt one of these solutions.</p>
              <ul>
                <li>Refine your SOQL query to target records linked to the selected parent object.</li>

                <li>Run the full policy to see actual results instead of relying on the preview sample.</li>

              </ul>
            </td>

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