Insufficient permissions: secure query included inaccessible field
Stopped into live support today, this is mainly so things do not get lost in the cracks and also to see if there is a list of permissions required for the integration user.
The integration user we have setup in salesforce was working fine for a while, however we had to take away a permission set giving it more access than it should have had (view all/modify all everything).
Currently the user has the following perm sets from C&P:
PS-CnP-PaaS-Connected-User-ONLY
PS-CnP-Event-Connected-User-ONLY
And a perm set we created to further give access to all of the fields and objects described in the article about 3rd party integrations. However our transactions are not posting due to (as shown in the data records) “Insufficient permissions: secure query included inaccessible field”
This is an urgent issue for us. Thank you.
ORG ID: 00D300000006fcR
Login access has been granted.
-
Hi Jaxsen,
I escalated this issue to the development team after Live Support today. They set up a debug log and determined the following info: The error is occurring because the integration user doesn’t have the required Salesforce permissions to access the CronTrigger object, which is used for scheduled jobs.
To fix this, the integration user needs the following System permissions:
- View Setup and Configuration
- Modify All Data
- Author Apex
- API Enabled (already included in most integration profiles)
These permissions can be added through a custom permission set assigned to the integration user. Once added, the scheduled job should run without permission errors.
Let me know if you have any other questions.
0
Please sign in to leave a comment.
Comments
1 comment