Fix 'Record Type ID Isn't Valid for User' When Migrating Records Between Salesforce Orgs
You migrate records — accounts, cases, CPQ configuration — from one org to another, and Salesforce throws back every row with the same error:
INVALID_CROSS_REFERENCE_KEY: Record Type ID: this ID value isn't valid for the user: 012d2000009YkJOAA0
The records were fine in the source. Their record type IDs are the problem, for one of two reasons: the ID is org-specific and doesn't exist in the target, or the target record type exists but isn't assigned to the user running the migration. The fix is to remap each record's RecordTypeId to the target org's equivalent by Developer Name, and make sure the loading user has that record type assigned — mtdt.io does the remapping automatically and flags any assignment you still need to grant.
