Skip to main content

User is getting an error when trying to relate a record to another record. User has Read and Edit to both objects and edit access to the lookup field. Sharing rule is in place that shares record type with user. There are no flows, triggers, or validation rules that are prohibiting user from being able to perform this action. 

 

I did a test in our dev environment and when I gave the user Modify All on the related object they were able to perform the action without error. Does anybody know why this might be happening?

 

#Sales Cloud  #Error Message

2 answers
  1. Feb 17, 2024, 1:36 AM

    Hello @Cody Ingram

    When an error occurs in Salesforce, it can be a bit frustrating trying to pinpoint the exact cause. If you're seeing an error message, make sure to read it carefully, as it might provide useful clues about what could be causing the issue. For instance, it could mention missing permissions, validation rules, or any other restrictions that are preventing the action from being completed.

    A good idea is to check the debug logs if you have access to them. These logs can offer detailed insights into what's happening in Salesforce when the error occurs. You can also utilise the Developer Console to run queries and observe what's happening with the records and objects involved in the error.

    Furthermore, it's always helpful to review the Setup Audit Trail to see if there have been any recent changes that could be related to the error.

     

    If this answer helped you mark it as valid to validate my answer.😊

     

    regards.  

0/9000