Similar to this SFDC Question: Apex CPU time limit exceeded error with Marketo Sync - Salesforce Developer Community
I have a Salesforce Process that automatically changes a Contact's Owner to match the Account Owner upon Account Owner Change.
This process seems to be getting tripped up by a Marketo Trigger from the Marketo Sales Insights Managed Package, but I cannot see the code behind it to troubleshoot. Here is the error message I get:
"UPDATE --- UPDATE FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) mkto_si.RemoveInterestingMomentLinebreaksContact: System.LimitException: Apex CPU time limit exceeded"
Anyone have any work around for this? I am just updating ~100 account records so I'm not sure why this would be timing out.
The first thing to do is to enable some debug logs on the Marketo sync user in SFDC and rerun your update. Hopefully (but not certainly) you will get more details.
We've been seeing the same issue, so I have to dig into this further. Have you seen anything else on this Scott Wong?
It might also a be just a transcient problem with SFDC. I would probably try agin in 24 hours.
Otherwise, go by the debug log first.
I'm experiencing the same issue. It seems to pop up when I have a notes column in my list import. I map the notes column to an "Append to Comments" field that runs through a smart campaign that appends the data to the "Comments" field.
I'm not exactly sure what I should be looking for in a debug log. Greg, do you have a recommended set up for this in SFDC so that I am creating the right user trace flag/debug level?
Dory - after working with my SFDC developer we found that the issue was stemming from a trigger that was installed for our Rainking integration. Specifically, Trigger 'RKIndustryTranslatorL'. We rectified the issue with this trigger and have not seen a sync error since. Happy to provide more details if you're still seeing the issue pop up.
is there a way for Marketo support to change MKTO to SFDC sync to use 100 per API call rather than 200 records per API call? This would get around the Apex CPU time limit exceeded and System.LimitException: errors
We are facing the same issue. I am trying to update the Lead object in Salesforce using Dataloader. As of now 190 records are failing to update because I get this error from Dataloader
mkto_si.RemoveInterestingMomentLinebreaksLead: System.LimitException: Apex CPU time limit exceeded
If someone has figured out a way to fix this issue, please share. Many thanks!