Certified Advanced Administrator Exam QuestionsBrowse all questions from this exam

Certified Advanced Administrator Exam - Question 142


The administrator at Cloud Kicks has been asked to delete a large number of quote line items. They receive a .csv file with the record IDs to be deleted. The administrator uses Data Loader to delete them and selects Use Bulk API. When the job runs, every record shows an 'entity is deleted' error in the error file that is created.

What is the reason for the error?

Show Answer
Correct Answer: A

The error 'entity is deleted' occurs when attempting to delete a record that has already been deleted and resides in the recycle bin. In Salesforce, when a record is deleted, it is not immediately removed from the system but rather moved to the recycle bin. If an attempt is made to delete a record ID that is already in the recycle bin, this error will be encountered. It is important for the administrator to ensure that none of the IDs in the .csv file reference records that are in the recycle bin.

Discussion

1 comment
Sign in to comment
tMana
Sep 28, 2024

A: The most likely reason for the error is that one of the IDs in the batch referenced a record that was in the recycle bin. When a record is deleted from Salesforce, it is placed in the recycle bin for a period of time before it is permanently deleted. If a record ID in the CSV file references a record in the recycle bin, the delete operation will fail with the 'entity is deleted' error. The administrator should check the IDs in the CSV file and ensure that they are not referencing records in the recycle bin. They can also try to restore the deleted records from the recycle bin and then delete them again using Data Loader.