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
Sujit KarandeSujit Karande 

Error:There should be atleast one contact role before you update the record

Hi,

My profile is System Administrator in one of Salesforce Org.

And there is one user who creates an opportunity and goes on leave.

So, I have been asked to change the owner of that opportunity to another user.

I tried changing the owner and get this error: There should be atleast one contact role before you update the record.

Any help or suggestion will be really appreciated.
Niraj Kr SinghNiraj Kr Singh
Hi Sujit,

Might be you are having some validation on opportunity which causing this error. You have to provide rrequired contact role while updating with some other user.
For more please refer below links:
https://success.salesforce.com/answers?id=9063A000000l73QQAQ
https://success.salesforce.com/ideaview?id=08730000000Brr9AAC


Thanks
Niraj
Sachin P Sam 1Sachin P Sam 1
Hi Sujit Karande,
Please check your validation rules on oppurtunity.
if possible try posting the validation rules and error screenshots,so some can help to solve the issue.
Please feel free to ask in case of any queries.
Regards,
Sachin P Sam