0

I have a contact that is acting like it's a private Contact even though it's related to an Account. Users are able to access the Account without any issues, but the Contact continues to give an Insufficient Privilege's error.

The Users have Read, Create, Edit, and View All on both Contacts and Accounts, and the sharing settings have Accounts as Public Read/Write with the Contact being controlled by its parent.

Any ideas why this error might continue to appear?

2
  • any Restriction Rules in place?
    – cropredy
    Commented May 18, 2022 at 0:46
  • @cropredy no none at all... Commented May 18, 2022 at 16:09

1 Answer 1

1

You see the Insufficient Privileges error if you don’t have the right access on different levels. For example, your profile prevents you from accessing the account object, or your role prevents you from accessing a case record. You also see an Insufficient Privileges error when you click a link to a record or a Visualforce page tab to which you don’t have access.

Record owners can resolve most cases by using the Sharing button on the record detail page, which enables them to share the record to another user. Salesforce admins can also resolve this issue using the API, such as querying the UserRecordAccess object to check a user’s access to a set of records. For more information, see the SOAP API Developer Guide.

If these tools can’t help you resolve the issue, your Salesforce org’s admin can try to diagnose it with this troubleshooting flow.

Resolve object-level access errors by reviewing the user profiles and permission sets.

Resolve Record-Level Access Errors

Resolve process-level errors by reviewing validation rules and Apex triggers.

How to Deal with the Salesforce Insufficient Privileges Error

1
  • Very thorough answer! Unfortunately it was not of much help. The articles listed go largely over what I've already mentioned regarding the object level permissions and sharing. I did take your advice and look at the UserRecordAccess object, which says the user should have read, edit, and transfer access even though they're still getting the insufficient privileges error. Commented May 18, 2022 at 16:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .