Question
What does the following message mean
" sfdc-integration-77dc74c9dc-lchg9 sfdc-integration error env:360<tenantID>+<SFDC profile>> <w4>: CNR_3517 Failed to execute operation 'update' on Salesforce due to data error: [{"message":"insufficient access rights on object id","statusCode":"INSUFFICIENT_ACCESS_OR_READONLY"}], uri: entities/<entity ID>"
Answer
The error code "INSUFFICIENT_ACCESS_OR_READONLY" in the Salesforce connector typically indicates that the user attempting to perform an operation does not have the necessary permissions for the specified object in Salesforce. This error can occur due to several reasons:
-
Lack of Object Permissions: The user may not have the required 'Read' or 'Edit' permissions for the object they are trying to access or modify.
-
Record-Level Access: Even if the user has object-level permissions, they might not have access to specific records due to sharing settings within Salesforce.
-
Field-Level Access: The user may not have 'Read' or 'Edit' access to specific fields that are being updated or accessed.
Example:
In the context of a Salesforce connector, this error suggests that the connector attempted to update a record in Salesforce but failed because the user associated with the operation lacks the necessary permissions for the specified object.
To check what the object's Organization-Wide Default (OWD) is set to in Salesforce follow these steps.
- Go to Setup.
- Search for "Sharing Settings".
- Under Organization-Wide Defaults, you’ll find a list of standard and custom objects with their current access level.
Comments
Please sign in to leave a comment.