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
VKZVKZ 

Apex Data loader - Question

Hi,

 

I am trying to upload child records. While all the other fields have updated correctly, the company contact field ( which is a lookup type) gives me an incorrect type error. Any ideas how to rectify this ?

Company Contact: id value of incorrect type: Kasdf  Pfjsfd
Company Contact: id value of incorrect type: Lesdfnn Fsfdorensdfce
Company Contact: id value of incorrect type: Ansdfdy dfill
Company Contact: id value of incorrect type: TJ Nusfdsdnley
 
skodisanaskodisana

Hi,

 

either you have to pass the external id with Upsert statement OR you have have to update with Company Id(Salesforce Id).

 

Thanks,

Srikanth. K

VKZVKZ

I did update the ID's that's how the records got updated in the first place, but its just the contact name type error that's creating a problem.

AmitSahuAmitSahu

Somehow your mapping has to be checked again I guess. The error you have mentioned above say some thing about the mapping. The ID field is getting text instead of ID.