Activity Forums Salesforce® Discussions What is the reason for “Object cannot be Deleted” error?

  • madhulika shah

    Member
    August 8, 2018 at 6:36 am

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

  • shradha jain

    Member
    August 8, 2018 at 6:36 am

    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.

    Thanks.

  • shariq

    Member
    September 16, 2018 at 5:22 pm

    Hi,

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

    Hope this helps.

  • Parul

    Member
    September 16, 2018 at 5:33 pm

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

     

    Thanks

Log In to reply.

Popular Salesforce Blogs