Skip to navigation

sync.completed_with_errors

Fires when a Model Sync execution completes with at least one record error or warning. number_of_errors can be 0. The execution also fires sync.completed.

Payload fields

FieldTypeAlways presentDescription
organization_idstring (UUID)YesOrganization ID
sync_namestringYesName of the Model Sync
sync_idstring (UUID)YesModel Sync ID
execution_idstring (UUID)YesExecution ID
target_connection_idstring (UUID)YesDestination connection ID
errorstringYesError message from the execution, if any
number_of_errorsintegerYesNumber of record errors
number_of_warningsintegerYesNumber of record warnings

Example

This example shows a webhook delivery, with the fields above in event. See the events overview for the delivery format.

{
"id": "b61c19e4-deec-5a02-83ad-8b603a575458",
"created_at": "2024-01-01T02:00:00Z",
"type": "sync.completed_with_errors",
"event": {
"organization_id": "be80a27e-0e80-4dcb-bee9-1666f02eeb83",
"sync_name": "Salesforce contacts",
"sync_id": "0b155265-c537-44c9-9359-a3ceb468a4da",
"execution_id": "0ecd09c1-b901-4d27-9053-f0367c427254",
"target_connection_id": "7c67e0b3-9759-44eb-b96c-2a7042b583f0",
"error": "",
"number_of_errors": 5,
"number_of_warnings": 2
}
}