Solution Deployed
Platform / Salesforce Archive
When unarchiving a contact record where Quote document is attached an error is observed.
Summary
When an attempted unarchive with the Nullify Related Reference Links setting enabled, the unarchive process crashes if the graph includes a QuoteDocument with a null or absent ContentVersionDocumentId. The error generated is:
Unable to unarchive bulk with original Salesforce Ids: [‘XXXXXXXXXXXXXXXXXX’], Failed to insert records to SF. entity is deleted Error from SF: {‘success’: False, ‘errors’: [{‘statusCode’: ‘ENTITY_IS_DELETED’, ‘message’: ‘ENTITY_IS_DELETED:entity is deleted’, ‘fields’: [‘CreatedById’, ‘LastModifiedById’, ‘ListEmailId’, ‘RecipientId’, ‘ActivityId’], ‘missing_ids’: [‘XXXXXXXXXXXXXXXXXX’, ‘XXXXXXXXXXXXXXXXXX’, ‘XXXXXXXXXXXXXXXXXX’, ‘XXXXXXXXXXXXXXXXXX’]}], ‘sobject_type’: ‘ListEmailSentResult’, ‘old_id’: ‘XXXXXXXXXXXXXXXXXX’
This error halts the entire job before the logic for nullifying missing references can execute, preventing the customer from utilizing their intended workaround.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 1 report
Nov 30, 2026