Platform / Salesforce Archive
Encountering an 'INVALID_FIELD_FOR_INSERT_UPDATE ' error while unarchiving the Email message record
- Reported
- Nov 27, 2026
- Updated
- Nov 29, 2026
- Fixed
- —
- Reports
- 1
- Found in
- —
- Reference
- W-25049601
Summary
Inserting an EmailMessage record with the Source field set to Migrated Captured Email usually fails. This picklist value is system-reserved for Salesforce's native Einstein Activity Capture (EAC) migration tool. The failure returns the following error:
Failed to insert records to SF. Error from SF: {'success': False, 'errors': [{'statusCode': 'INVALID_FIELD_FOR_INSERT_UPDATE', 'message': 'INVALID_FIELD_FOR_INSERT_UPDATE:Invalid source type: Specify EAC_SYNC, EAC_SYNC_LIMITED, or EMAIL_INTEGRATION_APP_MANUAL as the source.', 'fields'.
Workaround
Export the deleted records, manually change the value in the Source field, and then insert them manually using Data Loader or Workbench.
Steps to reproduce
- Log in to Salesforce.
- Archive the EmailMessage records.
- Then try unarchiving the same EmailMessage records that have values in the Source field.
Status timeline
Nov 30, 2026
created · Solution in Progress · 1 reports
Nov 30, 2026
content changed · Solution in Progress · 1 reports