• #31237
    Forcetalks

    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?

     

    #31239
    Forcetalks

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

    #31240
    Forcetalks

    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.

    #34582
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

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

    Hope this helps.

    #34585
    Salesforce | Parul Parul #2
    Forcetalks

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

     

    Thanks

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

Please to reply to this topic.

CONTACT US

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

Sending

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 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?