I'm trying to uninstall a package from an org, but keep getting the same error.

Uninstall Packages

This is the error I keep getting:- "Lead could not be removed during uninstall. insufficient access rights on cross-reference id"

This Is The Error

Any ideas on how I can fix this issue?


Edit:- The reason im wanting to do this is so we can import a different package into a blank (Default) Org. Is there an easier method to wipe this org?

  • 3
    Is there any component of your package used on Lead layout like record type or button etc?? – Mr.Frodo Jan 11 at 13:42
  • Yes, all sorts like buttons, custom fields & path assistant. – Daniel Bleasdale Jan 11 at 14:07
  • 1
    Please remove all package components from layout and try again. – Mr.Frodo Jan 11 at 14:12
  • I'll give that a shot cheers. – Daniel Bleasdale Jan 11 at 14:14
  • 1
    You have to check all sorts of layouts like lightning etc also any of your package component should not be referred by any existing components in the org. This is some laborious work you have to do unfortunately. – Mr.Frodo Jan 11 at 15:22

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.