Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

Anonymous
Not applicable

SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

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.

Thanks!

7 REPLIES 7
Grégoire_Miche2
Level 10

Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

Hi Scott,

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.

-Greg

Dory_Viscoglio
Level 10

Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

We've been seeing the same issue, so I have to dig into this further. Have you seen anything else on this Scott Wong​?

Grégoire_Miche2
Level 10

Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

Hi Dory,

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.

-Greg

Anonymous
Not applicable

Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

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?

Anonymous
Not applicable

Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

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.

Ed_Dunn
Level 1

Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMomentLinebreaksContact

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

priyasubbaraman
Level 1

Re: SFDC APEX TIME OUT Error Caused by a Managed Marketo Apex Trigger: mkto_si.RemoveInterestingMome

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!