function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Srini GiridharSrini Giridhar 

Insufficient_access_on_cross_reference_entity error

Hi All,
I have a native iOS app that is trying to update the task. I am getting the following error response from the salesforce web when trying to sync the changes:

 errorRecords =     (
                {
            errors =             (
                                {
                    errorfields = "()";
                    message = "insufficient access rights on object id";
                    statusCode = "INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY";
                }
            );

I verified and the user (partner user) profile has access to Task object and all the fields within the task.
Am I missing anything?

Srini
akhilesh_sfdcakhilesh_sfdc
Make sure user also has access to the parent object on which you are creating the task. You can test your API call with tools like https://workbench.developerforce.com/login.php

Join the Mobile SDK Community: http://sfdc.co/mobilecommunity