I'm trying to delete an Object (not a record) in Salesforce. When using ANT I receive this message:
1. objects/myObject.object -- Error: insufficient access rights on cross-reference id.
When using the UI and clicking delete, I receive this message:
You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.
This also happens when I try to delete the CustomTab
for the object as well. I suspect that deleting the CustomTab
is a part of deleting the CustomObject
.
A few other details:
- I'm on the default Sysadmin profile
- There aren't any master-detail relationships for this object, or any lookup relationships to this object.
- Occurs on Summer '15 (API 34.0), but not on Spring '15 (API 33.0).
- This could be a red herring, the Spring '15 sandboxes had no data in them.
Where else could I look to figure out what is preventing this tab or object from being deleted?