INSUFFICIENT_ACCESS_OR_READONLY when creating or updating contacts.
Complete the steps on this page only if:
- Your organization-wide default (OWD) Contact Sharing Settings is Private, Public Read Only, or Controlled by Parent.
- If your Contact OWD is Public Read/Write, you do not need this page.
- You’ve encountered the Salesforce error
INSUFFICIENT_ACCESS_OR_READONLYwhen updating or creating contacts.
1: Confirm your organization-wide default Contact Sharing Settings
Check your Contact organization-wide default (OWD) sharing settings:- Go to Setup → Security → Sharing Settings. Then, read your organization-wide defaults for Contact.
- If Salesforce displays a Default Internal Access and Default External Access, look at the Default Internal Access.
- If Contact Default (Internal) Access is Public Read/Write: nothing to do. Close this page.
- If Contact Default (Internal) Access is Private, Public Read Only, or Controlled by Parent: keep track of this value. Continue to 2: Choose an option.
2: Choose an option
You have two options to enable write access for Starbridge to keep your contacts up to date. Both give Starbridge the required permissions.- Option 1 is easier, but grants Starbridge permission to delete Contact records. Starbridge will never delete a Contact record, even if you grant it this permission.
- Option 2 is harder, but offers more granular sharing settings and does not grant Starbridge permission to delete Contact records.
Starbridge will never delete a Contact record from your Salesforce instance. Option 1 gives Starbridge permission to delete; but Starbridge will never use this permission and has no features that allow Contact records to be deleted.
Option 1: Enable Modify All Records on the Contact object
In the Starbridge API Integration permission set, open Object Settings → Contacts, click Edit, and check Modify All Records.
Make sure that all of Read, Create, Edit, Delete, View All Records, and Modify All Records are selected.
Option 2: Grant write access with a sharing rule
This takes more setup but lets you scope which contacts Starbridge can write to, and does not include delete. The exact steps depend on your Contact organization-wide default (OWD), from Connect your CRM > Step 2: Choose who will connect your CRM > Step-by-step instructions for Salesforce > Step 6.If Contact OWD is Private or Public Read Only
- Add the integration user to a public group (for example,
Starbridge Integration)- Navigate to Setup → Public Groups → New.
- Label:
Starbridge Integration - Grant Access Using Hierarchies: leave unchecked.
- Under Search, select Users, find
Integration, Starbridge, move it to Selected Members. - Click Save.
- Label:
- Navigate to Setup → Public Groups → New.
- Create a criteria-based Contact sharing rule:
- Go to Setup → Security → Sharing Settings → scroll to Contact Sharing Rules → New
- Label:
Starbridge Integration Write Access - Rule Type: select Based on criteria (the default is “Based on record owner”).
- Criteria: Whatever criteria you’d like to add. If you want to share access to a specific record type, typically something like:
Record TypeequalsK-12.- Click Add Filter Logic if you need OR or nested conditions; the default is AND across rows.
- Share with: set the first dropdown to Public Groups, then pick
Starbridge Integration. - Contact Access: Read/Write.
- Save, then confirm the recalculation prompt.
- Label:
- Go to Setup → Security → Sharing Settings → scroll to Contact Sharing Rules → New
If Contact OWD is Controlled by Parent
Contact access derives entirely from Account, so you cannot create Contact sharing rules at all. On the same page where you confirmed the Contact OWD (Setup → Security → Sharing Settings), read the organization-wide defaults for the Account object.- If Account OWD is Private or Public Read Only:
- Add the integration user to a public group (for example,
Starbridge Integration). - Create a criteria-based Account sharing rule granting the group Read/Write on Account, with Contact Access set to Read/Write.
- Add the integration user to a public group (for example,
- If Account OWD is Public Read/Write: Starbridge already has write access to all accounts, so contacts should already be writable.
- If you are just setting up your CRM integration for the first time, you can proceed to the next step.
- If you are currently seeing a sync error, this suggests the root cause is something other than your sharing permissions. Contact your GTME or support@starbridge.ai.
Next steps
If you arrived at this page because you encountered the Salesforce errorINSUFFICIENT_ACCESS_OR_READONLY when updating or creating contacts:
- This error should now be resolved.
- Resync the affected contacts in your Contact sync page.
- If the error persists, contact your GTME or support@starbridge.ai.
- After completing Option 1 or Option 2, log out of your current account in Salesforce.
- Log in to Salesforce using the Starbridge API Integration user username (not your personal email) and password.
- Once you log in, you will not be able to access the Salesforce UI, since you are logged in as an API only integration user. This is expected.
- Return to Connect your CRM and continue from Step 3: Navigate to the CRM integration.