sync.error

Fired when a PMS/OTA data sync fails. Check the error field for details.

Payload

{
  "event": "sync.error",
  "timestamp": "2026-04-04T03:05:00Z",
  "data": {
    "provider": "guesty",
    "syncType": "incremental",
    "error": "Authentication failed — token expired",
    "retriesRemaining": 2
  }
}

Handler Example

if (event === 'sync.error') {
  console.error('Sync failed:', data.provider, data.error)
  if (data.retriesRemaining === 0) {
    // Alert: connection may need re-authentication
  }
}

Tip: Always return a 200 status code to acknowledge receipt. Failed deliveries are retried 3 times with exponential backoff.Learn more about webhook reliability →

AI