Marketo - SFDC sync error "_createSObjects failed"

A document by KCS Integration on behalf of e7a0d1ecd0b6a45a9b2b95cce957c9fa48144e95 on Mar 23, 2018Last modified by Roxann McGlumphy on Mar 23, 2018
Version 2Show Document
  • View in full screen mode

Issue Description
When trying to sync a lead to SFDC, it fails with an error message "_createSObjects failed - AgreementTaskTrigger: execution of BeforeInsert caused by: System.NoAccessException: Script-thrown exception ()"


Issue Resolution
Your Salesforce instance has a custom  SFDC trigger that fires when you create a lead in SFDC (in the example, the trigger is named "AgreementTaskTrigger") but the trigger was not able to execute, so the sync failed.  To investigate this, you will have to set up a debug log on the Marketo sync user in SFDC and have your SFDC admin look into the details.


If you disable the trigger in SFDC, the sync will work without an issue.


Who This Solution Applies To
Customers integrated with Salesforce