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
kaka kumarkaka kumar 

Pardot Connector V2 Sync Error (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: Contact: data changed by trigger for field Owner ID: owner cannot be blank)

Hi All,

Recently, Our organization moved from  V1 to V2 version of Salesforce Pardot Connector and since then, we started getting error (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: Contact: data changed by trigger for field Owner ID: owner cannot be blank) in the Sync queue.
However, Resyncing the same prospects manually work perfectly so not sure why this error is coming when the connector syncs it the first time.
I know, this error seems to be an error in our trigger but to be honest, 
there is nothing suspicious we found in our trigger and everything looks perfect. 
Also, I have tried tracking debug logs for B2BMA User (Connector integration user ) for a few days and there are no errors/exceptions coming in logs.
Can anyone help me with finding the root cause of the issue? How can we debug this error in the logs and look at what actually causes it?
 
SwethaSwetha (Salesforce Developers) 
HI Kumar,

I found a few related posts that could help 
https://salesforce.stackexchange.com/questions/34705/data-changed-by-trigger-for-field-owner-id-owner-cannot-be-blank
https://salesforce.stackexchange.com/questions/16462/getting-error-message-when-trying-to-execute-trigger-stating-incorrect-type

However, you can also reach out to  Pardot B2B Marketing Automation Cloud page on https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000001pQ5CAI for better visibility and inputs on your ask.
 
If this information helps, please mark the answer as best. Thank you