Marketo - SFDC sync error _createSObjects failed

Issue

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 ()"

Solution

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.