Loading
Own from Salesforce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Common Errors and Warnings in the Archive Managed Package

          Common Errors and Warnings in the Archive Managed Package

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

          Note
          Note This content relates to Archive. For Salesforce Archive, see Store Data Externally with Salesforce Archive.

          Begin with a generic Troubleshooting Archive Policy Results video that offers insights into resolving policy-related issues. Understanding these common errors and their resolutions enhances your ability to manage the Archive system efficiently.

          Access Denied

          Warning
          Warning Error Access denied for Archiver backend. Please contact support.

          Reason: Salesforce is migrating your data from their private clouds to AWS public clouds.

          Solution: Enable the Hyperforce settings by following the steps outlined in Update Archive Security Control for Hyperforce Customers.

          Blocked Domain

          Warning
          Warning This site can't be reached. app1.archive.owndata.com unexpectedly closed the connection.

          Reason: A firewall is blocking owndata.com domain and failing the re-authentication process.

          Solution: If this message appears during the onboarding or re-authenticating process, contact your IT support to check if Allowlisting is required to access the Own domain.

          Bulk Delete Process Halted

          Warning
          Warning Bulk Delete Process Halted

          Reason: The process failed as part of the bulk delete process.

          Solution: Update configuration settings.

          1. Uncheck the hard delete option in the Archive Settings.
          2. Uncheck the lookup relation (if possible). If one of the children fails to delete because of the lookup relation.

          Connection Reset by Peer Connection Aborted

          Warning
          Warning Connection Reset by Peer Connection Aborted

          Reason: The issue may be due to temporary connection issues with Salesforce. Archive tries to rerun but gets the same error. Archive runs the policy as scheduled (daily/weekly/monthly basis).

          Solution:

          1. Rerun the operation.
          2. Wait for the next policy run.
          3. Reduce the number of lookups in the policy (if possible from a business perspective).
          4. Split the policy if it includes lookup children. Add other policies that their root objects are the lookup children.
          5. If all the above fails to resolve the error, raise a case with support. An internal optimization might be possible that reduces the probability of getting this error from Salesforce.

          Custom Trigger Error

          Warning
          Warning Class.TriggerName

          Reason: Custom triggers have been set up and are causing Archive/Unarchive errors.

          Solution 1: Disable the trigger during the Archive/Unarchive action.

          Solution 2: If the custom triggers were implemented with byPassValidationAssign, assign the Authenticated User bypass triggers.

          Solution 3: Amend the custom trigger logic so that Own Archive can bypass it.

          Delete Operation Too Large

          Warning
          Warning DELETE_OPERATION_TOO_LARGE: Cascade dereferencing too many records

          Reason: 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.

          Solution: To resolve record deletion performance issues, identify and delete related records, empty them from the recycle bin. See more in Salesforce under Error 'Delete Operation Too Large' or too slow when you delete records

          Enable Email Drafts for Cases Not Enabled

          Warning
          Warning INVALID_OPERATION

          Reason: Enable Email Drafts for Cases feature is not enabled.

          Solution: To insert the email message, add the option to enable Draft emails. See more from Salesforce in Enable Email Drafts for Cases.

          Expired Security Certificate

          Warning
          Warning App Feature Settings operation encountered an error, please contact support and provide them with the following Error code - 10094#10002#10001#10178

          Reason: The security certificate associated with the installed Archive managed package has expired. This prevents the package from communicating securely with the Archive backend services.

          Solution: Upgrade the Archive managed package to the latest available version. You can find the latest installation links in Access to Own from Salesforce Products .

          Failed to Load Query Builder

          Warning
          Warning Failed to Load Query Builder

          Reason 1: Refreshing a sandbox environment can cause errors because the Archive Console retains the old sandbox ID.

          Solution: Re-onboard the refreshed sandbox by hiding the old entry and adding the sandbox again with its new org ID in the Archive Console.

          Reason 2: The system attempts to fetch information from the org. If a response isn't received within 30 seconds, a timeout error occurs.

          Solution: Retry the action, preferably at a later time.

          Reason 3: Updates to permissions and permission sets can prevent the Archive product from accessing and managing the org data.

          Solution: Review the permissions assigned to your Archive authenticated user.

          Field Custom Validation Exception - Bad Restrictred Picklist Value

          Warning
          Warning FIELD_CUSTOM_VALIDATION_EXCEPTION: Bad value for restricted picklist field

          Reason: When unarchiving, Salesforce can encounter data validations such as validation rules, restricted picklist, and duplicate rules. In addition to this error message, you can see additional text with:

          • Validation rule message
          • sf_delete_error_message_object: status_code: FIELD_CUSTOM_VALIDATION_EXCEPTION
          • error_message: bad value for restricted picklist field: Closed Lost - Account Merged; Originating Class: UpdateOpportunityBeforeMergeAccount
          • sobject_id: 001C000001CVN1sIAH

          Solution 1: Uncheck restricted picklist value and add a new value.

          Solution 2:Deactivate the new picklist value and replace it with an existing picklist value.

          Field Custom Validation Exception - Unauthorized User

          Warning
          Warning FIELD_CUSTOM_VALIDATION_EXCEPTION: You are not authorized to delete this email, sobject_id: None

          Reason: When unarchiving, Salesforce can encounter data validations such as validation rules, restricted picklist, and duplicate rules. In addition to this error message, you can see additional text with Validation rule message and sf_delete_error_message_object: status_code.

          Solution: Deactivate the validation rules.

          Integrated User Has Limited Permissions

          Warning
          Warning The integration user has limited permissions

          Reason: The permission, granting access to query the storage details using the tooling API is missing.

          Solution: Add one of these permissions.

          • API enabled
          • View setup and configuration and Multi-Factor Authentication
          • Manage Multi-Factor Authentication in API

          Hot Data

          Warning
          Warning Failed, Record is considered hot data because it was modified in the last 90 days.

          Reason: Hot data is considered as any data that has been modified within the last 90 days. This is a protection mechanism that can be manually reconfigured from its default On state.

          Solution: Disable hot data protection through Archive Setting > Archive > Salesforce Data Protection Period and re-run the policy.

          Insufficient Access on Cross-Reference Entity

          Warning
          Warning INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY:insufficient access rights on cross-reference id: [different record id]

          Reason: Unarchiving requires a reference to the above record, and the authenticated user can't access it.

          Solution:

          1. Check whether the referenced record exists. If the record exists, check for the authenticated user's permissions to the record.
          2. Verify the authenticated user has the ModifyAllData permission.
          3. If the error persists, contact Own Support.

          Invalid Record ID

          Warning
          Warning Invalid Record ID

          Reason: The reference field External Lookup Relationship is not supported when expanding the object record page layout to view records via the Archive Widget or Archive Search.

          Solution: Remove the field from the Archive Widget or Archive Search fields configuration.

          Modify All Permission Required

          Warning
          Warning Root object of type <Parent Record Type> with Id <root Id> isn't archived because archive operation failed to read these children: record not found in Salesforce! It is recommended to ensure that the Archive Integration User has read permission for this object and has the Modify All permission.

          For example: [(type: <Child Record Type>;IDs:<Child Ids>), <Possible another children types>

          Reason:

          • A Modify All permission is missing.
          • Salesforce encountered internal issues with references.

          Solution:

          1. Check that the Archive Authenticated User has Modify All permission on the relevant record type.
          2. Open a support ticket with Salesforce.

          Not Fully Configured

          Warning
          Warning Validate Query operation encountered an error.

          Reason: New org or refreshed sandbox hasn't been fully configured.

          Solution: Verify Archive is installed properly. For more information, see Verify Archive Package Installation and Functionality.

          Policy Created in Archive Console

          Warning
          Warning This policy was created or edited from the Archive Console. You can't drill down or edit this policy from the Package.

          Reason: From Archive Package 21, when a policy is created or edited from the Archive Console, it's no longer accessible from the Archive Package, except for the Run Now feature, if enabled.

          Solution: Access the Archive policy from the Archive Console with Archive Package 21 and later installed.

          Record Failed to Delete

          Warning
          Warning Unknown_Exception

          Reason: The record failed to delete. No Salesforce error due to Salesforce unknown exception.

          Solution:

          1. Reduce the archive policy limit to a smaller number and re-run the policy.
          2. If the error persists, try to delete one of the IDs manually.
          3. If none of these previous steps works, submit a case to Salesforce Support with your Archive query details.

          Record No Longer Exists

          Warning
          Warning Unable to unarchive Sobject with original Salesforce Id:01a2B345673rkcaABC. Reference IDs not found:

          Reason: The record you're trying to unarchive references a record that's no longer in Salesforce or in Archive. The reference field is: obj.field (API name).

          Solution: Unarchive by disconnecting the parent/child relationship.

          1. Enter the Record ID in the Search tab.
          2. Export and download the record.
          3. Locate the record ID in the CSV file.
          4. Nullify the field.
          5. Click Save.
          6. Import the file to Salesforce via an ELT tool.
          7. Purge the record from the Archive database.

          Revoked Authentication Token

          Warning
          Warning Get Organization Storage Statistics operation encountered an error, please contact support and provide them with this Error code - 10076#10035#10200.

          Reason: The authentication token has been revoked or IP access is blocked to the Archive backend servers.

          Solution 1: Verify Archive is installed properly. For more information, see Verify Archive Package Installation and Functionality.

          Solution 2: Review IP restrictions and ensure access to the Archive servers is allowed by reviewing the Own Regions and IP Addresses for Allowlisting.

          Secure Static Resources for Lightning Components Error

          Warning
          Warning Error: lightning/platformResourceLoader encountered an error loading

          The Archive page fails to load.

          Reason: Secure Static Resources for Lightning Components is enabled.

          This can happen when:

          • Trying to download execution details from Activities tab.
          • Loading Dashboard widgets in the Homepage.
          • Loading the Archive Search.
          • Trying to reconfigure the Region (applicable to package 18 and below).

          Solution: Deactivate Secure Static Resources for Lightning Components.

          Open a ticket with Salesforce Support to disable these components.

          • Permission: Perm to hide Aura Secure Static Resources release update on new orgs (AuraSecStaticResCRUCPerm).
          • Org Preference: Pref to enable Aura Secure Static Resources release update (AuraSecStaticResCRUCPref).

          Storage Limit Exceeded

          Warning
          Warning Fail to insert/update policy Upsert failed. First exception on row 0; first error: STORAGE_LIMIT_EXCEEDED, storage limit exceeded: []

          Reason: Your Salesforce environment is beyond its limits and no new records can be created.

          Solution: Manually delete some records so that Archive can create the record for the archiving policy.

          Too Many Failures

          Warning
          Warning Too_many_failures: failures limit crossed

          Reason: A query has failed to archive records due to a trigger, dependency, or validation rule.

          Solution: Disable the trigger or validation rule that's inhibiting the policy from deleting this record.

          Note
          Note If the issue is due to dependency, Archive the referenced dependency first before you archive this record.

          Unarchive SDK Request Rate Exceeded

          Warning
          Warning Error Message: {"error_code": "VALIDATION _ERROR", "error_message":"Exceeded maximum Unarchive SDK request rate."}

          Reason: This message indicates that you have sent too many requests within the given time. The SDK supports up to 50 Unarchive requests per hour.

          Solution: Wait and try again later.

          Wrong Archived Root Record Referenced

          Warning
          Warning 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.

          Reason: Unarchive failed because the record references another archived root record.

          Solution: To fix this, update the Unarchive Reference setting to allow unarchiving of records with archived references.

          Wrong Reference ID

          Warning
          Warning Unable to unarchive sObject with original Salesforce Id: 01a2B345673rkcaABC Reference IDs already archived:

          Reason: The record you are trying to unarchive references another archived record. The missing records are listed in the Activities tab, CSV file, under the Failed Records column.

          Solution 1: Unarchive the parent before unarchiving the child record. See Unarchive from Archive Search or Archive Widget.

          Solution #2: Unarchive by disconnecting the child/parent relationship.

          1. Enter the record ID in the Search tab.
          2. Export and download the record.
          3. Locate the record ID in the CSV file.
          4. Nullify the field.
          5. Click Save.
          6. Import the file to Salesforce via an ELT tool.
          7. Purge the record from the Archive database.

          Bring Your Own Key (BYOK)

          403 Forbidden Access

          Warning
          Warning 403 Forbidden Access

          Reason: Archive encountered a security issue related to forbidden access. This is preventing you from uploading the private key file wrapped in our public key.

          Solution: Make sure your network policy has Archive included in the allowed list.

          Archive Console

          Failed to Save Policy

          Warning
          Warning Failed to Save Policy

          Console currently provides generic messaging indicating one of these issues.

          • Reason: Invalid query

            Solution: Recreate the query

          • Reason: Too many boosts applied

            Solution: Validate that you have boost applied to a maximum of 4 policies.

          • Reason: Internal error

            Solution: Contact Support if the issue persists.

          Failed to Copy

          Warning
          Warning Failed to Copy Policies

          Reason: Permission set Archive Admin is missing from the Authenticated User.

          Solution: Check that the Archive Authenticated User has Archive Admin permission set.

           
          Loading
          Salesforce Help | Article