Print this page

Data Loader export for object CaseComment generates error "INVALID_CROSS_REFERENCE_KEY: invalid cross reference id"

Knowledge Article Number 000233024
Description Data Loader export for object CaseComment generates error "INVALID_CROSS_REFERENCE_KEY: invalid cross reference id" for batch mode, Bulk API and all batch sizes.
Resolution The error is specific to orgs with self service users.  Self service users do not exist as users in Salesforce.  To workaround, please try the following:

1.  To export object CaseComment with Data Loader, do not export fields CreatorFullPhotoUrl and CreatorSmallPhotoUrl

OR

2.   Run Data Export 




promote demote