+ 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