You are here:
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.
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
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
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
Reason: The process failed as part of the bulk delete process.
Solution: Update configuration settings.
- Uncheck the hard delete option in the Archive Settings.
- 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
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:
- Rerun the operation.
- Wait for the next policy run.
- Reduce the number of lookups in the policy (if possible from a business perspective).
- Split the policy if it includes lookup children. Add other policies that their root objects are the lookup children.
- 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
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
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
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
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
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
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 messagesf_delete_error_message_object: status_code: FIELD_CUSTOM_VALIDATION_EXCEPTIONerror_message: bad value for restricted picklist field: Closed Lost - Account Merged; Originating Class: UpdateOpportunityBeforeMergeAccountsobject_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.
Integrated 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
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
Reason: Unarchiving requires a reference to the above record, and the authenticated user can't access it.
Solution:
- Check whether the referenced record exists. If the record exists, check for the authenticated user's permissions to the record.
-
Verify the authenticated user has the
ModifyAllDatapermission. - If the error persists, contact Own Support.
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
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:
- Check that the Archive Authenticated User has Modify All permission on the relevant record type.
- Open a support ticket with Salesforce.
Not Fully Configured
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
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
Reason: The record failed to delete. No Salesforce error due to Salesforce unknown exception.
Solution:
- Reduce the archive policy limit to a smaller number and re-run the policy.
- If the error persists, try to delete one of the IDs manually.
- If none of these previous steps works, submit a case to Salesforce Support with your Archive query details.
Record No Longer Exists
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.
- Enter the Record ID in the Search tab.
- Export and download the record.
- Locate the record ID in the CSV file.
- Nullify the field.
- Click Save.
- Import the file to Salesforce via an ELT tool.
- Purge the record from the Archive database.
Revoked Authentication Token
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
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
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
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.
Unarchive SDK Request Rate Exceeded
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
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
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.
- Enter the record ID in the Search tab.
- Export and download the record.
- Locate the record ID in the CSV file.
- Nullify the field.
- Click Save.
- Import the file to Salesforce via an ELT tool.
- Purge the record from the Archive database.
Archive Console
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.

