+ Start a Discussion
Jaryn FriesenJaryn Friesen 

I get this error message inconsistently when hitting save after logging a call or creating a task. Is anyone familiar with this??

User-added image
NagendraNagendra (Salesforce Developers) 
Hi Jaryn,

Sorry for this issue you are facing.

I guess there is Apex trigger/Class in place on Task object that is validating data,You could grab the error message & reach out to your developer to debug it.

To find the Apex trigger:-

Go--Setup--Customize--Cases--Trigger---Search for a trigger with the name.

Also, If the error is inconsistent then it might be due to the data which you are entering. Based on the data you are entering it might be checking some validations or triggers and firing the error message inconsistently.

Check for the duplicate rules if any on the contact object, also ensure the contact record is not duplicate to other record.
Hi Jaryn,

The error is due to the trigger on task object, which is calling the class "StampLastActivityHandler" on after insert event.
You can check  "StampLastActivityHandler" Class for more debugging.