Salesforce data load errors, explained

What each Salesforce API error means when you load, copy or seed records, why it happens, and how to fix it.

ErrorWhat it meansCaused by
DUPLICATE_VALUEA field that must be unique already has this value on another record in the org.Org state
DUPLICATES_DETECTEDA duplicate rule matched this record to an existing one and blocked the save.Org state
ENTITY_IS_DELETEDThe record being updated, deleted or referenced has already been deleted.Org state
FIELD_CUSTOM_VALIDATION_EXCEPTIONA validation rule or Apex trigger rejected the record with a custom error.Schema or configuration
FIELD_FILTER_VALIDATION_EXCEPTIONA lookup value points at a record that fails the lookup field's filter criteria.Schema or configuration
FIELD_INTEGRITY_EXCEPTIONA value broke one of Salesforce's built-in consistency checks, often country and state codes.Schema or configuration
INVALID_CROSS_REFERENCE_KEYAn ID in a lookup field points to a record this org doesn't have, or the user can't see.Schema or configuration
INVALID_EMAIL_ADDRESSA value sent to an Email field isn't a single, well-formed email address.Data format
INVALID_OR_NULL_FOR_RESTRICTED_PICKLISTA restricted picklist received a value that isn't in its list of active values.Schema or configuration
NUMBER_OUTSIDE_VALID_RANGEA numeric value has more digits than the field's precision and scale allow.Data format
REQUIRED_FIELD_MISSINGThe record has no value in a field the org requires, often a name or a parent lookup.Schema or configuration
STRING_TOO_LONGA text value is longer than the maximum length defined on the target field.Data format
UNABLE_TO_LOCK_ROWAnother transaction is holding a lock on the record or its parent.Org state

Caused by groups errors the way Syntharil does: data format errors are fixed by changing the values you send, schema or configuration errors by changing the org or the job setup, and org state errors come from what else is happening in the org, not from your data.