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
Cesar Ramirez Vasquez005391619375684564Cesar Ramirez Vasquez005391619375684564 

Im using dataloader to load some records from a .csv to salesforce and im getting the following error for just 3 records ?

Foreign key external ID: 01305906 not found for field Codigo_Factura__c in entity Factura__c
Foreign key external ID: l01-818 not found for field Codigo_NAF__c in entity Account
Foreign key external ID: 01269006 not found for field Codigo_Factura__c in entity Factura__c

The records are not duplicated i already checked and the data is fine, im stuck, help me please!
Vinita_SFDCVinita_SFDC
Hi,

Please check if Factura custom object has an External ID setup. Seems like while updating the records and this ID is not being found.

Please refer following help document and threads for better understanding:

http://help.salesforce.com/HTViewHelpDoc?id=faq_import_general_what_is_an_external.htm&language=en_US

http://salesforce.stackexchange.com/questions/13559/external-id-specification-in-child-object-foreign-key-reference-field

https://developer.salesforce.com/forums/ForumsMain?id=906F00000008rqpIAA
Cesar Ramirez Vasquez005391619375684564Cesar Ramirez Vasquez005391619375684564
The problem is im upserting 5488 identical records why only those 3 fail ? Its really wear all the dependancy exist
Vinita_SFDCVinita_SFDC
Hi,

If all records are identical, how are you able to identify which 3. There must be some difference. For this type of error mostly External ID is responsible.