- August 8, 2018 at 6:33 am #31237Avnish Yadav #3
What is the reason for “Object cannot be Deleted” error?
Sometimes while deleting a record it gives error “Object cannot be Deleted”. What is the reason for this kind of error?August 8, 2018 at 6:36 am #31239
This is generic error message prompted by Salesforce many times, which is not well informative. To get informative message, we can try to delete same record in “Developer Console”. In Developer Console Debug log, we will get exact error message.
Example : Lets say there is one record which is parent of more than 2000 records and grand parent of 5000 records. In such scenario from developer console it gives error something like “record cannot be deleted because it has many associated objects” However in User Interface, it will just display that “Object cannot be deleted”.August 8, 2018 at 6:36 am #31240shradha jain #11
The error “Object cannot be Deleted” means you are using it somewhere else For e.g Active Trigger on Object or Using in Workflow. You can check its usage and then delete it.
Thanks.September 16, 2018 at 5:22 pm #34582September 16, 2018 at 5:33 pm #34585
Please Register to reply to this topic. /