How to solve an Insufficient Privileges error in Salesforce

Getting an error message is never good, especially when the error says you don’t have the access needed to do your work.

When you get an insufficient privileges error, it’s usually because your account doesn’t have the right permissions.

Admins within the Salesforce ecosystem control the access of other users and departments.

This may be annoying for non-admin users, but when you’re dealing with other people’s information and data, it’s best to keep access restricted.

Limiting permissions in your Salesforce ecosystem helps you to maintain the principle of least privilege.

The principle of least privilege is an information security concept that calls for a user to be given only the permissions they need to do their job. This keeps confidential information in the right hands and keeps data secure.

In this article, you’re going to learn what an insufficient privileges error means, why you might see it, how to check on your permissions, and, if you’re an admin, how to change permissions for your organization.

What is this error?

An insufficient privileges error is an error message you receive when you don’t have the necessary permissions for a certain object or record. Even though getting an error message can be a little scary, seeing this one probably means your organization is doing something right.

Salesforce applies the principle of least privilege to user permissions, giving admins the ability to restrict the data other members of their organization can see. If you get an insufficient privileges error, it might just mean your organization is protecting people’s data and privacy.

Access control is a cornerstone of cybersecurity. It helps keep your company’s data and that of its customers safe. Salesforce’s other strategy to protect data is to designate specific users as privileged users.

Privileged users are often referred to as admins. Below are the common types of admins in Salesforce:

  • Operating and network system admins: users with admin privileges to your organization’s operating system or network device
  • Database admins: users with admin privileges to one or more databases
  • Domain admins: users with admin privileges across all workstations and servers on a domain
  • Application admins: users with admin privileges to one or more applications
  • Local admins: users with administrative access to local systems, like IT staff who do maintenance or set up new workstations  

Why would you see this error message?

Most users will get an insufficient privileges error when they don’t have the necessary permissions to edit an object, or the object has a validation rule that needs to be changed.

Validation rules can complicate privileges and cause error messages. (We’ll learn more about them later.)

If you’re getting an insufficient privileges error, you’ll have to contact your admin to update your access.

Want to find out if the privileges are at the object level or if your permissions need to change? You can use the User Access and Permissions Assistant to help you figure out your permissions. You can also check out your permissions in your user profile:

  1. Go to Users and click on your profile. 
Clicking on the Users Option Under the Users Tab and Selecting the User_Jotform Profile
  1. Scroll down to Permission Set Assignments. From there, you’ll be able to see your permissions. If you have the right privileges, you’ll be able to edit your permissions.
Permission Set Assignments Section Under the Setup Users Page

Now that you know how to troubleshoot your own privilege levels, let’s check out how you can give others access at the profile level and at the object level.

How to solve this error for others if you’re an admin

First, look at the user’s permissions using the methods mentioned earlier. Once you’ve determined whether you need to grant access at the object level or at the user level, you can grant access in one of the following ways.

Grant access at the object level

Granting access at the object level will keep folks in your organization from getting an insufficient privileges error message when they want to edit or change an object.

  1. Go to Permission Sets and click on the permission set you want to change access to.
Clicking on the Permission Sets Under the Users Tab and Selecting the Permission Set to Change Access To
  1. Click Object Settings, then click the object you want to edit.
Clicking on the Object Settings and then Clicking on the Accounts Object to Edit
  1. Click the Edit button to configure the object’s permissions to your liking.
Clicking on the Edit Button Next to the Accounts Tab to Configure the Object’s Permissions
  1. Don’t forget to click Save when you’re done.
Setting Field Permissions and Clicking on the Save Button Next to the Accounts Tab

Change validation rules

Check your organization’s permissions to make sure your users are able to access the object they’re requesting. Keep in mind that if you want to change an object’s validation rules, you’ll most likely need admin level privileges.

  1. Go to the Object Manager and select the object that’s giving you an error message.
Selecting the Address Object Under the Object Manager
  1. Go to Validation Rules.
Selecting the Validation Rules Tab in the Settings of the Address Object

From here, you can check to see if your validation rules are up to date. If you have the appropriate access, you can also change validation rules to ensure your users don’t receive erroneous error messages.

Now that you know how to check your own permissions and edit object permissions, you should see fewer insufficient privileges errors. Let us know how this worked for you!

Photo by Ono Kosuki

AUTHOR
Michaela is a content writer and technical writer specializing in SaaS and healthcare products. She co-authored Jotform for Beginners 1 and 2 and writes product tutorials, help guides, and blog posts all about how to use Jotform’s products. Michaela’s background as a technical writer has left her with a love of conveying complex information in the simplest way possible. You can reach Michaela through her contact form.

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Podo Comment Be the first to comment.