function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
The_A-RodThe_A-Rod 

"field mapping is invalid"

The cmd for the Dataloader is telling me the "Field mapping is invalid", even though the sdl file was built in the Apex dataloader tool. I have triple checked the mappings and there's nothing woring with them.

I am a full system admin and have read/write access to every field on the custom object, so am a little confused.

Other things I have tried which made no difference:
-Deleted unmatched columns in the csv
-Checked to make sure there were no white spaces in the sdl file
-Used field labels to map rather than the API label
Best Answer chosen by The_A-Rod
The_A-RodThe_A-Rod
Stupid mistake in the end. I hadn't changed the object name in the xml file!!

<entry key="sfdc.entity" value="My_Custom_Object__c"/>

All Answers

NagaNaga (Salesforce Developers) 
Hi The_A-Rod,

Are you trying to load data directly into the formula field? You can't do that. Instead, load data into the other fields and the platform will calculate the formula field values for you.

Please let me know if this helps

Best Regards
Naga kiran
The_A-RodThe_A-Rod
No, none of the fields are formula fields
The_A-RodThe_A-Rod
I have also just tried version 20 which I am led to believe is bug free, but that also gave the same error message.

This is so frustrating
The_A-RodThe_A-Rod
Stupid mistake in the end. I hadn't changed the object name in the xml file!!

<entry key="sfdc.entity" value="My_Custom_Object__c"/>
This was selected as the best answer