• #31237

    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?



    Hi Avnish,

    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”.


    Hello Avnish,

    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.


    Salesforce | shariq shariq #1


    You need to see your debug log because it is generic UI error.

    Hope this helps.

    Salesforce | Parul Parul #2

    You need to check debug that blog must be used in somewhere with any process.



Viewing 5 posts - 1 through 5 (of 5 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?