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
milis2milis2 

INVALID_CROSS_REF_KEY error

Hi,

 

We get error INVALID_CROSS_REF_KEY when do upsert. 

When the record is processed after 1st round, the same record processed again, it will success to create a new record or update if available.   Any idea?

 

 

Johan

umesh atryumesh atry
i think , you are upsert on invalid id means these id are not available into orgs.
please check these ids on which you are doing upsert.
you can check like this 
"https://na2.salesforce.com/0014000000di1bwAAA".
0014000000di1bwAAA -> it will be your id.