---
title: Conditions that trigger immediate failover
description: Immediate failover occurs when PingDataSync receives one of the following error codes from an external server:
component: pingdirectory
version: 11.0
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_conditions_trigger_immed_failover
canonical_url: https://docs.pingidentity.com/pingdirectory/11.0/pingdatasync_server_administration_guide/pd_sync_conditions_trigger_immed_failover.html
revdate: September 13, 2023
---

# Conditions that trigger immediate failover

Immediate failover occurs when PingDataSync receives one of the following error codes from an external server:

* BUSY (51)

* UNAVAILABLE (52)

* SERVER CONNECTION CLOSED (81)

* CONNECT ERROR (91)

If PingDataSync attempts a write operation to a target server that returns one of these error codes, PingDataSync will automatically fail over to the server instance with the next-highest priority in the target topology, issue an alert, and then reissue the retry attempt. If the operation is unsuccessful for any reason, the server logs an error.
