(Please note that older articles might not render correctly in mobile view.)
The SalesForce Data destination for a submitted record fails with the following error:
Error, Execution Failure: Processor 'Salesforce Ticket' failed to execute: Execution Failure: There was an error with the Salesforce API call
Some records may be sent successfully to SalesForce, while others throw the error mentioned above.
This error may occur if question(s) defined as a key field(s) in the SalesForce destination "Update Query" tab are not answered in the form submission.
As an example:
If the following is defined in the SalesForce data destination:
However, if the question with the label "WorkOrder" on the form submission was left blank, we will receive an error when attempting to execute the SalesForce destination.
Ensure that any key fields used in the SalesForce data destination "Update Query" tab are filled in on the form submission. You can ensure this is the case by setting the questions used as a key field to "required" (using the form builder).