When importing, updating, or deleting records using Salesforce Data Loader, users may encounter errors related to invalid or malformed record IDs in the CSV file. Salesforce record IDs are either 15 characters (case-sensitive) or 18 characters (case-insensitive). The following errors can occur when IDs in the CSV are malformed, blank, or incorrect:
Salesforce records have IDs that are either 15 or 18 characters in length.
When a 15-character ID is entered, the system may convert it to the 18-character representation. Invalid IDs are rejected with one of the errors listed above.
Insert/Update operation error: MALFORMED_ID: Object name id: id value of incorrect type
Delete operation error: MALFORMED_ID: bad id
Resolution steps:
Error: MISSING_ARGUMENT: Id not specified in an update call
Resolution: Enter a valid ID in the ID column of the CSV file. The ID column must not be blank for update or delete operations.
Error: INVALID_CROSS_REFERENCE_KEY: invalid cross reference id
Resolution: Verify that the ID in the CSV file corresponds to an existing record in the Salesforce org. Also confirm that the Owner ID listed in the CSV has access to the record being updated.
See also
Common Data Loader error messages
Insert, Update, or Delete Data Using Data Loader
000387915

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.