I am trying to run a batch apex to update a list of leads, i get this error
'INVALID_CROSS_REFERENCE_KEY, invalid cross reference id:'
only for few of the apex jobs, the other jobs of the batch are shown as success.
There is no other clue as to what is causing this error.I browsed through the whole log, and there is no single exception recorded in the debug log.
Is it specific to the sandbox or the Lead object?