-
What permissions are required on cross-referenced object to avoid API Post error in Salesforce?
I'm trying to use the API to create an instance of a custom object. The custom object includes a reference to a Contact. The API user has permission to create the custom object, but only has read permission on Contacts. Unfortunately, I'm getting an error "insufficient access rights on cross-reference id" and the id of the Contact I'm trying to reference on my custom object.
I'd like to keep the permission set on the API user as limited as possible, what permissions are needed on the Contact in order to avoid the error when setting a Contact reference on another object?
Log In to reply.
Popular Salesforce Blogs

Salesforce Classic to Lightning Migration: Major Challenges and Solutions
Salesforce Classic used to be the primary interface for Salesforce users until 2016. But, when compared to other CRM contenders, Salesforce Classic started to be…

Access sObject's (Salesforce Object Type) Fields and Its Record | Apex Developer Guide
There are multiple cases where you need to show sObjects records and its field in Lightning. For example: Consider a use case scenario where you…

Salesforce Appexchange App Development Services: InfoDrive Solutions
In today’s fast-paced business environment, companies strive to leverage cutting-edge technologies to drive growth, enhance efficiency, and improve customer experiences. Salesforce, a leading customer relationship…
Popular Salesforce Videos
Salesforce: Learn Workflow Rules in Just 10 min
Workflows in Salesforce are a fantastic way to automate certain business processes. You can create a rule, and based on certain criteria that you set,…
Salesforce Admin Beginners Tutorial - 3.1 - Salesforce Platform Basics
Salesforce is an innovative tool that can be very powerful when used properly. That’s why it’s important to find effective and trustworthy ways to learn…
Apex Performance Tips and Tricks | Salesforce Video Guide
Watch this video to learn all about Apex Performance: • What do we mean by performance? • How do we measure performance? • Loop Performance…
Popular Salesforce Infographics

Step by Step: What you Should Know About the Order-to-Cash Process
The order-to-cash (O2C) process is a defining part of a company’s success, and it also plays a big role in driving an organization’s relationship with…

How to Choose the Right Salesforce Partner
Choosing the right partner is a key factor that could make or break your project’s success. Salesforce is a mighty CRM platform, and that’s why…

Things you need to know about Salesforce Commerce Cloud
Salesforce Commerce Cloud a.k.a. Demandware is a highly customized, multi-tenant, and cloud-based Software as a Service (SaaS) eCommerce solution. It offers a wide range of…