40613: Database is not currently available (Azure SQL)
SQL ServerWhat does it mean?
In Azure SQL the target database is not reachable at the moment. Usually transient; it appears briefly while the platform moves, reconfigures or recovers the database.
Why does it happen?
Automatic scaling/failover, patching, load balancing or resource relocation on the Azure side; rarely a longer platform event. Connections are rejected until the database comes back online.
How to fix it
Wait briefly and retry; this is a transient error. Implement automatic retry with exponential backoff in the application; Azure SDK/retry libraries recognize this error code as transient. If the problem persists, check Azure Service Health and regional incidents. For high availability, consider geo-replication/a failover group.
More from this engine
- 4834You do not have permission to use the bulk load statement
- 10928Resource limit for the database has been reached (Azure SQL)
- 40544The database has reached its size quota (Azure SQL)
- 102Incorrect syntax near 'token'
- 8114Error converting data type X to Y
- 1204The instance of the SQL Server Database Engine cannot obtain a LOCK resource
- 3906Failed to update database because the database is read-only