FSharp.Azure.Cosmos 1.2.0

Edit this page

SubStatusCodes Module

Cosmos DB sub-status codes, returned in the x-ms-substatus header.

A sub-status only has a meaning together with the HTTP status code: some numbers are reused for different statuses, for example 1002 is ReadSessionNotAvailable with 404 and PartitionKeyRangeGone with 410. Match on both.

Sources of the codes: Microsoft Learn (the REST API HTTP status codes page, the troubleshooting guides and the throughput buckets FAQ), the SubStatusCodes enumeration of the .NET SDK and the sub-status tables of the official Python, Java and Rust SDKs. The names follow the .NET SDK, with its typos fixed.

The HTTP status of each code is the one stated by Microsoft Learn or by the SDK sources; for the customer-managed key codes it comes from the data plane scenario of the customer-managed key troubleshooting guide. A status marked inferred is not stated by any of these sources and is derived from the family of the code, so treat it as a hint.

Codes generated only by the Java or Rust SDK clients are not included, because the .NET SDK never returns them. The service can return codes that are not listed here.

Functions and values

Function or value Description

SubStatusCodes.AadAuthDisabled

Full Usage: SubStatusCodes.AadAuthDisabled

Returns: int

With 401 Unauthorized (inferred): Microsoft Entra ID authentication is disabled for the account.

Returns: int

SubStatusCodes.AadRequestNotAuthorized

Full Usage: SubStatusCodes.AadRequestNotAuthorized

Returns: int

With 403 Forbidden: the request cannot be authorized by a Microsoft Entra ID token in the data plane.

Returns: int

SubStatusCodes.AadServiceUnavailable

Full Usage: SubStatusCodes.AadServiceUnavailable

Returns: int

With 403 Forbidden, customer-managed keys: the Microsoft Entra ID service is unavailable.

Returns: int

SubStatusCodes.AadTokenAcquisitionFailed

Full Usage: SubStatusCodes.AadTokenAcquisitionFailed

Returns: int

With 403 Forbidden, customer-managed keys: Azure Cosmos DB cannot get the Microsoft Entra ID access token for the Key Vault.

Returns: int

SubStatusCodes.AadTokenExpired

Full Usage: SubStatusCodes.AadTokenExpired

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has expired.

Returns: int

SubStatusCodes.AadTokenGroupExpansionError

Full Usage: SubStatusCodes.AadTokenGroupExpansionError

Returns: int

With 401 Unauthorized (inferred): the groups of the Microsoft Entra ID token could not be expanded.

Returns: int

SubStatusCodes.AadTokenInvalidAudience

Full Usage: SubStatusCodes.AadTokenInvalidAudience

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has an invalid audience.

Returns: int

SubStatusCodes.AadTokenInvalidFormat

Full Usage: SubStatusCodes.AadTokenInvalidFormat

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has an invalid format.

Returns: int

SubStatusCodes.AadTokenInvalidIssuer

Full Usage: SubStatusCodes.AadTokenInvalidIssuer

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has an invalid issuer.

Returns: int

SubStatusCodes.AadTokenInvalidScope

Full Usage: SubStatusCodes.AadTokenInvalidScope

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has an invalid scope.

Returns: int

SubStatusCodes.AadTokenInvalidSignature

Full Usage: SubStatusCodes.AadTokenInvalidSignature

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has an invalid signature.

Returns: int

SubStatusCodes.AadTokenInvalidSigningKey

Full Usage: SubStatusCodes.AadTokenInvalidSigningKey

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has an invalid signing key.

Returns: int

SubStatusCodes.AadTokenMissingObjectIdentifier

Full Usage: SubStatusCodes.AadTokenMissingObjectIdentifier

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token has no object identifier.

Returns: int

SubStatusCodes.AadTokenNotYetValid

Full Usage: SubStatusCodes.AadTokenNotYetValid

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token is not valid yet.

Returns: int

SubStatusCodes.AadTokenRevoked

Full Usage: SubStatusCodes.AadTokenRevoked

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token was revoked.

Returns: int

SubStatusCodes.AeQueueFull

Full Usage: SubStatusCodes.AeQueueFull

Returns: int

With 429 Too Many Requests: the AE queue is full.

Returns: int

SubStatusCodes.AggregatedHealthStateError

Full Usage: SubStatusCodes.AggregatedHealthStateError

Returns: int

With 503 Service Unavailable: the aggregated health state is an error.

Returns: int

SubStatusCodes.AllocationFailed

Full Usage: SubStatusCodes.AllocationFailed

Returns: int

With 503 Service Unavailable (inferred): an allocation failed.

Returns: int

SubStatusCodes.AnotherOfferReplaceOperationIsInProgress

Full Usage: SubStatusCodes.AnotherOfferReplaceOperationIsInProgress

Returns: int

With 400 Bad Request: another throughput replace operation is in progress.

Returns: int

SubStatusCodes.ApplicationHealthStateError

Full Usage: SubStatusCodes.ApplicationHealthStateError

Returns: int

With 503 Service Unavailable (inferred): the application health state is an error.

Returns: int

SubStatusCodes.ArchivalPartitionNotPresent

Full Usage: SubStatusCodes.ArchivalPartitionNotPresent

Returns: int

With 410 Gone: the archival partition is not present.

Returns: int

SubStatusCodes.ArchivalPartitionPendingCatchup

Full Usage: SubStatusCodes.ArchivalPartitionPendingCatchup

Returns: int

With 429 Too Many Requests: the archival partition has not caught up yet.

Returns: int

SubStatusCodes.AsyncReaderWriterLock

Full Usage: SubStatusCodes.AsyncReaderWriterLock

Returns: int

With 429 Too Many Requests: throttled by an asynchronous reader-writer lock.

Returns: int

SubStatusCodes.AuthTokenNotFoundInCache

Full Usage: SubStatusCodes.AuthTokenNotFoundInCache

Returns: int

With 404 Not Found: the authorization token is not found in the cache.

Returns: int

SubStatusCodes.AzureBackupVaultIncrementalBackupPaused

Full Usage: SubStatusCodes.AzureBackupVaultIncrementalBackupPaused

Returns: int

With 409 Conflict: incremental backup to the Azure Backup vault is paused.

Returns: int

SubStatusCodes.AzureBackupVaultIncrementalBackupRestoreDisabled

Full Usage: SubStatusCodes.AzureBackupVaultIncrementalBackupRestoreDisabled

Returns: int

With 409 Conflict: restore from an incremental Azure Backup vault backup is disabled.

Returns: int

SubStatusCodes.AzureRbacAccessDecisionUnavailable

Full Usage: SubStatusCodes.AzureRbacAccessDecisionUnavailable

Returns: int

With 449 Retry With: the Azure role-based access control access decision is unavailable.

Returns: int

SubStatusCodes.BarrierThrottled

Full Usage: SubStatusCodes.BarrierThrottled

Returns: int

With 503 Service Unavailable: the barrier request was throttled.

Returns: int

SubStatusCodes.BatchResponseSizeExceeded

Full Usage: SubStatusCodes.BatchResponseSizeExceeded

Returns: int

With 413 Request Entity Too Large: the batch response size is exceeded.

Returns: int

SubStatusCodes.BwTermCountLimitExceeded

Full Usage: SubStatusCodes.BwTermCountLimitExceeded

Returns: int

With 429 Too Many Requests: the Bw-tree term count limit is exceeded.

Returns: int

SubStatusCodes.BwTreeIoRateLimiter

Full Usage: SubStatusCodes.BwTreeIoRateLimiter

Returns: int

With 429 Too Many Requests: throttled by the Bw-tree I/O rate limiter.

Returns: int

SubStatusCodes.BwTreeLogFullBackpressure

Full Usage: SubStatusCodes.BwTreeLogFullBackpressure

Returns: int

With 429 Too Many Requests: throttled by back pressure from a full Bw-tree log.

Returns: int

SubStatusCodes.CannotAcquireInAccountRestoreLock

Full Usage: SubStatusCodes.CannotAcquireInAccountRestoreLock

Returns: int

With 412 Precondition Failed: the in-account restore lock cannot be acquired.

Returns: int

SubStatusCodes.CannotAcquireLogStoreLoadBalanceLock

Full Usage: SubStatusCodes.CannotAcquireLogStoreLoadBalanceLock

Returns: int

With 412 Precondition Failed: the log store load balance lock cannot be acquired.

Returns: int

SubStatusCodes.CannotAcquireMasterPartitionAccessLock

Full Usage: SubStatusCodes.CannotAcquireMasterPartitionAccessLock

Returns: int

With 412 Precondition Failed: the master partition access lock cannot be acquired.

Returns: int

SubStatusCodes.CannotAcquireOfferOwnerLock

Full Usage: SubStatusCodes.CannotAcquireOfferOwnerLock

Returns: int

With 412 Precondition Failed: the offer owner lock cannot be acquired.

Returns: int

SubStatusCodes.CannotAcquirePartitionKeyRangeLock

Full Usage: SubStatusCodes.CannotAcquirePartitionKeyRangeLock

Returns: int

With 412 Precondition Failed: the partition key range lock cannot be acquired.

Returns: int

SubStatusCodes.CannotAcquirePartitionKeyRangesLock

Full Usage: SubStatusCodes.CannotAcquirePartitionKeyRangesLock

Returns: int

With 412 Precondition Failed: the partition key ranges lock cannot be acquired.

Returns: int

SubStatusCodes.CannotAcquirePartitionLock

Full Usage: SubStatusCodes.CannotAcquirePartitionLock

Returns: int

With 412 Precondition Failed: the partition lock cannot be acquired.

Returns: int

SubStatusCodes.CheckpointQueueDepthBackpressure

Full Usage: SubStatusCodes.CheckpointQueueDepthBackpressure

Returns: int

With 429 Too Many Requests: throttled by back pressure from the checkpoint queue depth.

Returns: int

SubStatusCodes.ClientConnectivityFailure

Full Usage: SubStatusCodes.ClientConnectivityFailure

Returns: int

With 503 Service Unavailable: the client failed to connect and all retries failed.

Returns: int

SubStatusCodes.ClientCpuOverload

Full Usage: SubStatusCodes.ClientCpuOverload

Returns: int

With 503 Service Unavailable: the client machine's CPU is overloaded.

Returns: int

SubStatusCodes.ClientIdMismatch

Full Usage: SubStatusCodes.ClientIdMismatch

Returns: int

With 403 Forbidden: the client id does not match.

Returns: int

SubStatusCodes.ClientOperatingSystemIoError

Full Usage: SubStatusCodes.ClientOperatingSystemIoError

Returns: int

With 503 Service Unavailable: an operating system I/O error occurred on the client.

Returns: int

SubStatusCodes.ClientTcpChannelFull

Full Usage: SubStatusCodes.ClientTcpChannelFull

Returns: int

With 429 Too Many Requests: the client TCP channel is full.

Returns: int

SubStatusCodes.ClientThreadStarvation

Full Usage: SubStatusCodes.ClientThreadStarvation

Returns: int

With 503 Service Unavailable: the client machine's thread pool is starved.

Returns: int

SubStatusCodes.ClientTimeout

Full Usage: SubStatusCodes.ClientTimeout

Returns: int

With 503 Service Unavailable: the client timed out and all retries failed.

Returns: int

SubStatusCodes.ClusterHealthEmpty

Full Usage: SubStatusCodes.ClusterHealthEmpty

Returns: int

With 503 Service Unavailable (inferred): the cluster health is empty.

Returns: int

SubStatusCodes.CollectionQuotaExceeded

Full Usage: SubStatusCodes.CollectionQuotaExceeded

Returns: int

With 429 Too Many Requests: the container quota is exceeded.

Returns: int

SubStatusCodes.CollectionQuotaExceededAutopilot

Full Usage: SubStatusCodes.CollectionQuotaExceededAutopilot

Returns: int

With 429 Too Many Requests: the container quota of an autoscale (autopilot) container is exceeded.

Returns: int

SubStatusCodes.CollectionRidMismatch

Full Usage: SubStatusCodes.CollectionRidMismatch

Returns: int

With 400 Bad Request: the container resource id does not match the one the client cached, for example after the container was re-created with the same name.

Returns: int

SubStatusCodes.CollectionStateChanged

Full Usage: SubStatusCodes.CollectionStateChanged

Returns: int

With 412 Precondition Failed: the container state changed.

Returns: int

SubStatusCodes.CollectionTruncateNotAllowedDuringMerge

Full Usage: SubStatusCodes.CollectionTruncateNotAllowedDuringMerge

Returns: int

With 409 Conflict (inferred): truncating a container is not allowed during a merge.

Returns: int

SubStatusCodes.CollectionsInPartitionGotUpdated

Full Usage: SubStatusCodes.CollectionsInPartitionGotUpdated

Returns: int

With 412 Precondition Failed: the containers in the partition were updated.

Returns: int

SubStatusCodes.CompletingPartitionMigration

Full Usage: SubStatusCodes.CompletingPartitionMigration

Returns: int

With 410 Gone: a partition migration is completing.

Returns: int

SubStatusCodes.CompletingPartitionMigrationExceededRetryLimit

Full Usage: SubStatusCodes.CompletingPartitionMigrationExceededRetryLimit

Returns: int

With 503 Service Unavailable: a partition migration was still completing after the SDK retry limit.

Returns: int

SubStatusCodes.CompletingSplit

Full Usage: SubStatusCodes.CompletingSplit

Returns: int

With 410 Gone: a partition split is completing.

Returns: int

SubStatusCodes.CompletingSplitExceededRetryLimit

Full Usage: SubStatusCodes.CompletingSplitExceededRetryLimit

Returns: int

With 503 Service Unavailable: a partition split was still completing after the SDK retry limit.

Returns: int

SubStatusCodes.ComputeFederationNotFound

Full Usage: SubStatusCodes.ComputeFederationNotFound

Returns: int

With 503 Service Unavailable: the compute federation is not found.

Returns: int

SubStatusCodes.ComputeInternalError

Full Usage: SubStatusCodes.ComputeInternalError

Returns: int

With 403 Forbidden: an internal compute error occurred.

Returns: int

SubStatusCodes.ConfigurationNameAlreadyExists

Full Usage: SubStatusCodes.ConfigurationNameAlreadyExists

Returns: int

With 409 Conflict: a configuration with the name already exists.

Returns: int

SubStatusCodes.ConfigurationNameNotEmpty

Full Usage: SubStatusCodes.ConfigurationNameNotEmpty

Returns: int

With 500 Internal Server Error: the configuration name is not empty.

Returns: int

SubStatusCodes.ConfigurationOperationCancelled

Full Usage: SubStatusCodes.ConfigurationOperationCancelled

Returns: int

With 500 Internal Server Error: the configuration operation was cancelled.

Returns: int

SubStatusCodes.ConflictOperationInUserTransaction

Full Usage: SubStatusCodes.ConflictOperationInUserTransaction

Returns: int

With 409 Conflict (inferred): the operation conflicts with another operation in the user transaction.

Returns: int

SubStatusCodes.ConflictWithControlPlane

Full Usage: SubStatusCodes.ConflictWithControlPlane

Returns: int

With 409 Conflict: the operation conflicts with a control plane operation.

Returns: int

SubStatusCodes.ConnectionClosed

Full Usage: SubStatusCodes.ConnectionClosed

Returns: int

With 503 Service Unavailable: the connection was interrupted or terminated unexpectedly.

Returns: int

SubStatusCodes.ConnectionRateLimiter

Full Usage: SubStatusCodes.ConnectionRateLimiter

Returns: int

With 429 Too Many Requests: throttled by the connection rate limiter.

Returns: int

SubStatusCodes.ContainerCreateInProgress

Full Usage: SubStatusCodes.ContainerCreateInProgress

Returns: int

With 404 Not Found: the container create operation is still in progress; retry the read until it succeeds.

Returns: int

SubStatusCodes.CrossCollectionTransactionNotSupported

Full Usage: SubStatusCodes.CrossCollectionTransactionNotSupported

Returns: int

With 400 Bad Request: a transaction across containers is not supported.

Returns: int

SubStatusCodes.CrossPartitionQueryNotServable

Full Usage: SubStatusCodes.CrossPartitionQueryNotServable

Returns: int

With 400 Bad Request: the cross-partition query cannot be served.

Returns: int

SubStatusCodes.CustomerKeyRotated

Full Usage: SubStatusCodes.CustomerKeyRotated

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the customer key was rotated.

Returns: int

SubStatusCodes.DatabaseAccountNotFound

Full Usage: SubStatusCodes.DatabaseAccountNotFound

Returns: int

With 403 Forbidden: the database account is not found.

Returns: int

SubStatusCodes.DatabaseNameAlreadyExists

Full Usage: SubStatusCodes.DatabaseNameAlreadyExists

Returns: int

With 409 Conflict: a database with the name already exists.

Returns: int

SubStatusCodes.DtcAccountConfigFailure

Full Usage: SubStatusCodes.DtcAccountConfigFailure

Returns: int

With 500 Internal Server Error: the distributed transaction coordinator account configuration failed.

Returns: int

SubStatusCodes.DtcCoordinatorRaceConflict

Full Usage: SubStatusCodes.DtcCoordinatorRaceConflict

Returns: int

With 449 Retry With: a distributed transaction coordinator race conflict occurred.

Returns: int

SubStatusCodes.DtcDispatchFailure

Full Usage: SubStatusCodes.DtcDispatchFailure

Returns: int

With 500 Internal Server Error: the distributed transaction coordinator dispatch failed.

Returns: int

SubStatusCodes.DtcLedgerFailure

Full Usage: SubStatusCodes.DtcLedgerFailure

Returns: int

With 500 Internal Server Error: the distributed transaction coordinator ledger failed.

Returns: int

SubStatusCodes.DtcOperationRolledBack

Full Usage: SubStatusCodes.DtcOperationRolledBack

Returns: int

With 500 Internal Server Error: the distributed transaction coordinator rolled the operation back.

Returns: int

SubStatusCodes.DuplicateRetriableWriteRequest

Full Usage: SubStatusCodes.DuplicateRetriableWriteRequest

Returns: int

With 409 Conflict (inferred): the retriable write request is a duplicate.

Returns: int

SubStatusCodes.FabricAuthorizationFailed

Full Usage: SubStatusCodes.FabricAuthorizationFailed

Returns: int

With 403 Forbidden (inferred): Microsoft Fabric: authorization failed.

Returns: int

SubStatusCodes.FabricNodesHealthError

Full Usage: SubStatusCodes.FabricNodesHealthError

Returns: int

With 503 Service Unavailable (inferred): the health of the fabric nodes is an error.

Returns: int

SubStatusCodes.FabricOperationUnsupported

Full Usage: SubStatusCodes.FabricOperationUnsupported

Returns: int

With 403 Forbidden (inferred): Microsoft Fabric: the operation is not supported.

Returns: int

SubStatusCodes.FabricTokenValidationFailed

Full Usage: SubStatusCodes.FabricTokenValidationFailed

Returns: int

With 401 Unauthorized (inferred): Microsoft Fabric: the token could not be validated.

Returns: int

SubStatusCodes.FailedToGetAadToken

Full Usage: SubStatusCodes.FailedToGetAadToken

Returns: int

With 401 Unauthorized (inferred): the Microsoft Entra ID token could not be obtained.

Returns: int

SubStatusCodes.FederationDoesNotExistOrIsLocked

Full Usage: SubStatusCodes.FederationDoesNotExistOrIsLocked

Returns: int

With 500 Internal Server Error: the federation does not exist or is locked.

Returns: int

SubStatusCodes.GatewayThrottled

Full Usage: SubStatusCodes.GatewayThrottled

Returns: int

With 429 Too Many Requests: the gateway throttled the request.

Returns: int

SubStatusCodes.GlobalStrongWriteBarrierNotMet

Full Usage: SubStatusCodes.GlobalStrongWriteBarrierNotMet

Returns: int

With 503 Service Unavailable: the global strong write barrier is not met.

Returns: int

SubStatusCodes.GoneException

Full Usage: SubStatusCodes.GoneException

Returns: int

With 503 Service Unavailable: a gone exception was not resolved by retries.

Returns: int

SubStatusCodes.HealthStateError

Full Usage: SubStatusCodes.HealthStateError

Returns: int

With 503 Service Unavailable (inferred): the health state is an error.

Returns: int

SubStatusCodes.HotPartitionKeyThrottled

Full Usage: SubStatusCodes.HotPartitionKeyThrottled

Returns: int

With 429 Too Many Requests: a hot partition key is throttled.

Returns: int

SubStatusCodes.HttpListenerException

Full Usage: SubStatusCodes.HttpListenerException

Returns: int

With 400 Bad Request: the HTTP listener failed.

Returns: int

SubStatusCodes.InitialRetriableWriteRequestCompleted

Full Usage: SubStatusCodes.InitialRetriableWriteRequestCompleted

Returns: int

With 409 Conflict (inferred): the initial request of a retriable write has already completed.

Returns: int

SubStatusCodes.InsufficientBindablePartitions

Full Usage: SubStatusCodes.InsufficientBindablePartitions

Returns: int

With 503 Service Unavailable: there are not enough bindable partitions.

Returns: int

SubStatusCodes.InsufficientCapacity

Full Usage: SubStatusCodes.InsufficientCapacity

Returns: int

With 503 Service Unavailable: the capacity is insufficient.

Returns: int

SubStatusCodes.InsufficientFabricPermissions

Full Usage: SubStatusCodes.InsufficientFabricPermissions

Returns: int

With 403 Forbidden (inferred): Microsoft Fabric: the permissions are insufficient.

Returns: int

SubStatusCodes.InvalidAccountConfiguration

Full Usage: SubStatusCodes.InvalidAccountConfiguration

Returns: int

With 500 Internal Server Error: the account configuration is invalid.

Returns: int

SubStatusCodes.InvalidAccountStatus

Full Usage: SubStatusCodes.InvalidAccountStatus

Returns: int

With 412 Precondition Failed: the account status is invalid.

Returns: int

SubStatusCodes.InvalidAuthHeaderFormat

Full Usage: SubStatusCodes.InvalidAuthHeaderFormat

Returns: int

With 401 Unauthorized (inferred): the authorization header has an invalid format.

Returns: int

SubStatusCodes.InvalidFabricAppId

Full Usage: SubStatusCodes.InvalidFabricAppId

Returns: int

With 401 Unauthorized (inferred): Microsoft Fabric: the application id is invalid.

Returns: int

SubStatusCodes.InvalidFabricArtifactId

Full Usage: SubStatusCodes.InvalidFabricArtifactId

Returns: int

With 401 Unauthorized (inferred): Microsoft Fabric: the artifact id is invalid.

Returns: int

SubStatusCodes.InvalidFabricTenantId

Full Usage: SubStatusCodes.InvalidFabricTenantId

Returns: int

With 401 Unauthorized (inferred): Microsoft Fabric: the tenant id is invalid.

Returns: int

SubStatusCodes.InvalidInputBytes

Full Usage: SubStatusCodes.InvalidInputBytes

Returns: int

With 403 Forbidden, customer-managed keys: internal server error, the input bytes are not in the base64 format.

Returns: int

SubStatusCodes.InvalidKeyVaultCertUrl

Full Usage: SubStatusCodes.InvalidKeyVaultCertUrl

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the Key Vault certificate URL is invalid.

Returns: int

SubStatusCodes.InvalidKeyVaultKeyAndCertUrl

Full Usage: SubStatusCodes.InvalidKeyVaultKeyAndCertUrl

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the Key Vault key and certificate URLs are invalid.

Returns: int

SubStatusCodes.InvalidKeyVaultKeyUrl

Full Usage: SubStatusCodes.InvalidKeyVaultKeyUrl

Returns: int

With 403 Forbidden, customer-managed keys: the Key Vault key URL is invalid, for example it includes the key version.

Returns: int

SubStatusCodes.InvalidKeyVaultSecretUrl

Full Usage: SubStatusCodes.InvalidKeyVaultSecretUrl

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the Key Vault secret URL is invalid.

Returns: int

SubStatusCodes.InvalidThroughputCapValue

Full Usage: SubStatusCodes.InvalidThroughputCapValue

Returns: int

With 403 Forbidden: the throughput cap value is invalid.

Returns: int

SubStatusCodes.InvalidTopologyChangeRequest

Full Usage: SubStatusCodes.InvalidTopologyChangeRequest

Returns: int

With 400 Bad Request: the topology change request is invalid.

Returns: int

SubStatusCodes.InvalidTransactionId

Full Usage: SubStatusCodes.InvalidTransactionId

Returns: int

With 400 Bad Request: the transaction id is invalid.

Returns: int

SubStatusCodes.KeyDisabledOrExpired

Full Usage: SubStatusCodes.KeyDisabledOrExpired

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the key is disabled or expired.

Returns: int

SubStatusCodes.KeyVaultAccessDenied

Full Usage: SubStatusCodes.KeyVaultAccessDenied

Returns: int

With 403 Forbidden, customer-managed keys: the Key Vault does not grant Azure Cosmos DB access, or the key is disabled.

Returns: int

SubStatusCodes.KeyVaultDnsNotResolved

Full Usage: SubStatusCodes.KeyVaultDnsNotResolved

Returns: int

With 403 Forbidden, customer-managed keys: the Key Vault DNS name cannot be resolved.

Returns: int

SubStatusCodes.KeyVaultInternalServerError

Full Usage: SubStatusCodes.KeyVaultInternalServerError

Returns: int

With 403 Forbidden, customer-managed keys: the Key Vault returned an internal service error.

Returns: int

SubStatusCodes.KeyVaultKeyNotFound

Full Usage: SubStatusCodes.KeyVaultKeyNotFound

Returns: int

With 403 Forbidden, customer-managed keys: the key is not found in the Key Vault.

Returns: int

SubStatusCodes.KeyVaultNotFound

Full Usage: SubStatusCodes.KeyVaultNotFound

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the Key Vault is not found.

Returns: int

SubStatusCodes.KeyVaultOutboundDeniedByNsp

Full Usage: SubStatusCodes.KeyVaultOutboundDeniedByNsp

Returns: int

With 403 Forbidden (inferred), customer-managed keys: a network security perimeter denies outbound access to the Key Vault.

Returns: int

SubStatusCodes.KeyVaultServiceUnavailable

Full Usage: SubStatusCodes.KeyVaultServiceUnavailable

Returns: int

With 403 Forbidden, customer-managed keys: the Key Vault service is unavailable.

Returns: int

SubStatusCodes.KeyVaultWrapUnwrapFailure

Full Usage: SubStatusCodes.KeyVaultWrapUnwrapFailure

Returns: int

With 403 Forbidden, customer-managed keys: the Key Vault cannot wrap or unwrap the key.

Returns: int

SubStatusCodes.LeakedPartition

Full Usage: SubStatusCodes.LeakedPartition

Returns: int

With 403 Forbidden: the partition is leaked.

Returns: int

SubStatusCodes.LeaseNotFound

Full Usage: SubStatusCodes.LeaseNotFound

Returns: int

With 410 Gone: the lease is not found.

Returns: int

SubStatusCodes.LocalAuthDisabled

Full Usage: SubStatusCodes.LocalAuthDisabled

Returns: int

With 401 Unauthorized (inferred): key-based (local) authentication is disabled for the account.

Returns: int

SubStatusCodes.LogFlushQueueDepthBackpressure

Full Usage: SubStatusCodes.LogFlushQueueDepthBackpressure

Returns: int

With 429 Too Many Requests: throttled by back pressure from the log flush queue depth.

Returns: int

SubStatusCodes.LogStoreNoFreeSegments

Full Usage: SubStatusCodes.LogStoreNoFreeSegments

Returns: int

With 429 Too Many Requests: the log store has no free segments.

Returns: int

SubStatusCodes.MalformedContinuationToken

Full Usage: SubStatusCodes.MalformedContinuationToken

Returns: int

With 400 Bad Request (inferred): generated by the .NET SDK: the continuation token is malformed.

Returns: int

SubStatusCodes.MasterServiceUnavailable

Full Usage: SubStatusCodes.MasterServiceUnavailable

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the master service is unavailable.

Returns: int

SubStatusCodes.MergeIsDisabled

Full Usage: SubStatusCodes.MergeIsDisabled

Returns: int

With 412 Precondition Failed: merging is disabled.

Returns: int

SubStatusCodes.MicrosoftFabricCuBudgetExceeded

Full Usage: SubStatusCodes.MicrosoftFabricCuBudgetExceeded

Returns: int

With 429 Too Many Requests: the Microsoft Fabric capacity unit budget is exceeded.

Returns: int

SubStatusCodes.MismatchingCollectionRidsOnMigratePartitionDuringMigration

Full Usage: SubStatusCodes.MismatchingCollectionRidsOnMigratePartitionDuringMigration

Returns: int

With 412 Precondition Failed: the container resource ids do not match on a migrate partition request during a migration.

Returns: int

SubStatusCodes.MissedTargetGlobalCommittedLsn

Full Usage: SubStatusCodes.MissedTargetGlobalCommittedLsn

Returns: int

With 204 No Content: the replica has not reached the target global committed LSN of a head request.

Returns: int

SubStatusCodes.MissedTargetGlobalCommittedLsnOver100

Full Usage: SubStatusCodes.MissedTargetGlobalCommittedLsnOver100

Returns: int

With 204 No Content: the replica is more than 100 global committed LSNs behind the target of a head request.

Returns: int

SubStatusCodes.MissedTargetGlobalCommittedLsnOver1000

Full Usage: SubStatusCodes.MissedTargetGlobalCommittedLsnOver1000

Returns: int

With 204 No Content: the replica is more than 1000 global committed LSNs behind the target of a head request.

Returns: int

SubStatusCodes.MissedTargetGlobalCommittedLsnOver10000

Full Usage: SubStatusCodes.MissedTargetGlobalCommittedLsnOver10000

Returns: int

With 204 No Content: the replica is more than 10000 global committed LSNs behind the target of a head request.

Returns: int

SubStatusCodes.MissedTargetLsn

Full Usage: SubStatusCodes.MissedTargetLsn

Returns: int

With 204 No Content: the replica has not reached the target LSN of a head request.

Returns: int

SubStatusCodes.MissedTargetLsnOver100

Full Usage: SubStatusCodes.MissedTargetLsnOver100

Returns: int

With 204 No Content: the replica is more than 100 LSNs behind the target of a head request.

Returns: int

SubStatusCodes.MissedTargetLsnOver1000

Full Usage: SubStatusCodes.MissedTargetLsnOver1000

Returns: int

With 204 No Content: the replica is more than 1000 LSNs behind the target of a head request.

Returns: int

SubStatusCodes.MissedTargetLsnOver10000

Full Usage: SubStatusCodes.MissedTargetLsnOver10000

Returns: int

With 204 No Content: the replica is more than 10000 LSNs behind the target of a head request.

Returns: int

SubStatusCodes.MissingAuthHeader

Full Usage: SubStatusCodes.MissingAuthHeader

Returns: int

With 401 Unauthorized (inferred): the authorization header is missing.

Returns: int

SubStatusCodes.MissingPartitionResourceOnAbortMigration

Full Usage: SubStatusCodes.MissingPartitionResourceOnAbortMigration

Returns: int

With 412 Precondition Failed: the partition resource is missing when aborting a migration.

Returns: int

SubStatusCodes.MissingPartitionResourceOnCompleteMigration

Full Usage: SubStatusCodes.MissingPartitionResourceOnCompleteMigration

Returns: int

With 412 Precondition Failed: the partition resource is missing when completing a migration.

Returns: int

SubStatusCodes.MissingRequestParameter

Full Usage: SubStatusCodes.MissingRequestParameter

Returns: int

With 403 Forbidden (inferred), customer-managed keys: a request parameter is missing.

Returns: int

SubStatusCodes.NRegionCommitWriteBarrierNotMet

Full Usage: SubStatusCodes.NRegionCommitWriteBarrierNotMet

Returns: int

With 503 Service Unavailable: the n-region commit write barrier is not met.

Returns: int

SubStatusCodes.NameCacheIsStale

Full Usage: SubStatusCodes.NameCacheIsStale

Returns: int

With 410 Gone: the client's name cache is stale.

Returns: int

SubStatusCodes.NameCacheIsStaleExceededRetryLimit

Full Usage: SubStatusCodes.NameCacheIsStaleExceededRetryLimit

Returns: int

With 503 Service Unavailable: the name cache stayed stale after the SDK retry limit.

Returns: int

SubStatusCodes.NoValidStoreResponse

Full Usage: SubStatusCodes.NoValidStoreResponse

Returns: int

With 503 Service Unavailable: no valid store response was received.

Returns: int

SubStatusCodes.NspInboundDenied

Full Usage: SubStatusCodes.NspInboundDenied

Returns: int

With 403 Forbidden (inferred): a network security perimeter denies the inbound request.

Returns: int

SubStatusCodes.OfferReplaceDisabledAutoscaleOffer

Full Usage: SubStatusCodes.OfferReplaceDisabledAutoscaleOffer

Returns: int

With 403 Forbidden: replacing the throughput of an autoscale offer is disabled.

Returns: int

SubStatusCodes.OfferScaledUpByUser

Full Usage: SubStatusCodes.OfferScaledUpByUser

Returns: int

With 412 Precondition Failed: the throughput offer was scaled up by the user.

Returns: int

SubStatusCodes.OfferValidationFailed

Full Usage: SubStatusCodes.OfferValidationFailed

Returns: int

With 412 Precondition Failed: the throughput offer validation failed.

Returns: int

SubStatusCodes.OperationCancelledWithNoRollback

Full Usage: SubStatusCodes.OperationCancelledWithNoRollback

Returns: int

With 500 Internal Server Error: the operation was cancelled without a rollback.

Returns: int

SubStatusCodes.OperationLogSizeTooBig

Full Usage: SubStatusCodes.OperationLogSizeTooBig

Returns: int

With 429 Too Many Requests: the operation log is too big.

Returns: int

SubStatusCodes.OperationManagerDequeuePumpStopped

Full Usage: SubStatusCodes.OperationManagerDequeuePumpStopped

Returns: int

With 500 Internal Server Error: the operation manager dequeue pump stopped.

Returns: int

SubStatusCodes.OperationPaused

Full Usage: SubStatusCodes.OperationPaused

Returns: int

With 503 Service Unavailable: the operation is paused.

Returns: int

SubStatusCodes.OperationResultNull

Full Usage: SubStatusCodes.OperationResultNull

Returns: int

With 503 Service Unavailable (inferred): the operation result is null.

Returns: int

SubStatusCodes.OperationResultUnexpected

Full Usage: SubStatusCodes.OperationResultUnexpected

Returns: int

With 503 Service Unavailable (inferred): the operation result is unexpected.

Returns: int

SubStatusCodes.OwnerResourceNotFound

Full Usage: SubStatusCodes.OwnerResourceNotFound

Returns: int

With 404 Not Found: the owner resource, a database or container, does not exist.

Returns: int

SubStatusCodes.PartitionFailoverError

Full Usage: SubStatusCodes.PartitionFailoverError

Returns: int

With 500 Internal Server Error: a partition failover failed.

Returns: int

SubStatusCodes.PartitionKeyDefinitionMissingForAutopilot

Full Usage: SubStatusCodes.PartitionKeyDefinitionMissingForAutopilot

Returns: int

With 400 Bad Request: the partition key definition is missing for an autoscale (autopilot) container.

Returns: int

SubStatusCodes.PartitionKeyDefinitionNotSpecified

Full Usage: SubStatusCodes.PartitionKeyDefinitionNotSpecified

Returns: int

With 400 Bad Request: the partition key definition is not specified.

Returns: int

SubStatusCodes.PartitionKeyDeleteRequestLimitExceeded

Full Usage: SubStatusCodes.PartitionKeyDeleteRequestLimitExceeded

Returns: int

With 403 Forbidden: the limit of delete-by-partition-key requests is exceeded.

Returns: int

SubStatusCodes.PartitionKeyHashCollisionForId

Full Usage: SubStatusCodes.PartitionKeyHashCollisionForId

Returns: int

With 409 Conflict: the partition key hash collides for the id.

Returns: int

SubStatusCodes.PartitionKeyMismatch

Full Usage: SubStatusCodes.PartitionKeyMismatch

Returns: int

With 400 Bad Request: the partition key does not match the item or the container's partition key definition.

Returns: int

SubStatusCodes.PartitionKeyQuotaExceeded

Full Usage: SubStatusCodes.PartitionKeyQuotaExceeded

Returns: int

With 403 Forbidden: the logical partition reached its maximum size.

Returns: int

SubStatusCodes.PartitionKeyRangeGone

Full Usage: SubStatusCodes.PartitionKeyRangeGone

Returns: int

With 410 Gone: the partition key range is gone, for example after a split.

Returns: int

SubStatusCodes.PartitionKeyRangeGoneExceededRetryLimit

Full Usage: SubStatusCodes.PartitionKeyRangeGoneExceededRetryLimit

Returns: int

With 503 Service Unavailable: the partition key range stayed gone after the SDK retry limit.

Returns: int

SubStatusCodes.PartitionMigratingCollectionDeleted

Full Usage: SubStatusCodes.PartitionMigratingCollectionDeleted

Returns: int

With 404 Not Found: the container of a migrating partition was deleted.

Returns: int

SubStatusCodes.PartitionMigrationDocumentCountMismatchSourceTarget

Full Usage: SubStatusCodes.PartitionMigrationDocumentCountMismatchSourceTarget

Returns: int

With 409 Conflict: the document counts of the source and target partitions of a partition migration do not match.

Returns: int

SubStatusCodes.PartitionMigrationDocumentCountMismatchTargetReplicas

Full Usage: SubStatusCodes.PartitionMigrationDocumentCountMismatchTargetReplicas

Returns: int

With 409 Conflict: the document counts of the target partition replicas of a partition migration do not match.

Returns: int

SubStatusCodes.PartitionMigrationFailedToUpdateDns

Full Usage: SubStatusCodes.PartitionMigrationFailedToUpdateDns

Returns: int

With 404 Not Found: a partition migration failed to update DNS.

Returns: int

SubStatusCodes.PartitionMigrationPartitionResourceNotFound

Full Usage: SubStatusCodes.PartitionMigrationPartitionResourceNotFound

Returns: int

With 404 Not Found: the partition resource is not found during a partition migration.

Returns: int

SubStatusCodes.PartitionMigrationSharedThroughputDatabasePartitionNotFound

Full Usage: SubStatusCodes.PartitionMigrationSharedThroughputDatabasePartitionNotFound

Returns: int

With 404 Not Found: the partition of a shared throughput database is not found during a partition migration.

Returns: int

SubStatusCodes.PartitionMigrationSourcePartitionDeletedInMaster

Full Usage: SubStatusCodes.PartitionMigrationSourcePartitionDeletedInMaster

Returns: int

With 404 Not Found: the source partition of a partition migration was deleted in the master partition.

Returns: int

SubStatusCodes.PartitionNotInMigratingStatusForMigratePartitionRequest

Full Usage: SubStatusCodes.PartitionNotInMigratingStatusForMigratePartitionRequest

Returns: int

With 412 Precondition Failed: the partition is not in the migrating status for a migrate partition request.

Returns: int

SubStatusCodes.PartitionedResourceQuotaExceeded

Full Usage: SubStatusCodes.PartitionedResourceQuotaExceeded

Returns: int

With 429 Too Many Requests: the partitioned resource quota is exceeded.

Returns: int

SubStatusCodes.PatchConditionNotMet

Full Usage: SubStatusCodes.PatchConditionNotMet

Returns: int

With 403 Forbidden: the condition of a conditional patch is not met.

Returns: int

SubStatusCodes.PrepareTimeLimitExceeded

Full Usage: SubStatusCodes.PrepareTimeLimitExceeded

Returns: int

With 429 Too Many Requests: the prepare time limit is exceeded.

Returns: int

SubStatusCodes.ProvisionLimitReached

Full Usage: SubStatusCodes.ProvisionLimitReached

Returns: int

With 403 Forbidden: the provisioning limit is reached.

Returns: int

SubStatusCodes.QuorumNotMet

Full Usage: SubStatusCodes.QuorumNotMet

Returns: int

With 503 Service Unavailable: the quorum is not met.

Returns: int

SubStatusCodes.QuotaExceeded

Full Usage: SubStatusCodes.QuotaExceeded

Returns: int

With 429 Too Many Requests: a quota is exceeded.

Returns: int

SubStatusCodes.RbacAadGroupUnavailable

Full Usage: SubStatusCodes.RbacAadGroupUnavailable

Returns: int

With 449 Retry With: the Microsoft Entra ID group of role-based access control is unavailable.

Returns: int

SubStatusCodes.RbacDisabledDueToArmPath

Full Usage: SubStatusCodes.RbacDisabledDueToArmPath

Returns: int

With 500 Internal Server Error: role-based access control is disabled because of the Azure Resource Manager path.

Returns: int

SubStatusCodes.RbacMissingAction

Full Usage: SubStatusCodes.RbacMissingAction

Returns: int

With 403 Forbidden (inferred): role-based access control has no action for the request.

Returns: int

SubStatusCodes.RbacMissingUserId

Full Usage: SubStatusCodes.RbacMissingUserId

Returns: int

With 403 Forbidden (inferred): role-based access control has no user id for the request.

Returns: int

SubStatusCodes.RbacRequestWasNotAuthorized

Full Usage: SubStatusCodes.RbacRequestWasNotAuthorized

Returns: int

With 403 Forbidden (inferred): role-based access control did not authorize the request.

Returns: int

SubStatusCodes.RbacRidCannotBeResolved

Full Usage: SubStatusCodes.RbacRidCannotBeResolved

Returns: int

With 403 Forbidden (inferred): role-based access control cannot resolve the resource id.

Returns: int

SubStatusCodes.RbacUnauthorizedMetadataRequest

Full Usage: SubStatusCodes.RbacUnauthorizedMetadataRequest

Returns: int

With 403 Forbidden (inferred): role-based access control does not authorize the metadata request.

Returns: int

SubStatusCodes.RbacUnauthorizedNameBasedDataRequest

Full Usage: SubStatusCodes.RbacUnauthorizedNameBasedDataRequest

Returns: int

With 403 Forbidden (inferred): role-based access control does not authorize the name-based data request.

Returns: int

SubStatusCodes.RbacUnauthorizedRidBasedDataRequest

Full Usage: SubStatusCodes.RbacUnauthorizedRidBasedDataRequest

Returns: int

With 403 Forbidden (inferred): role-based access control does not authorize the resource-id-based data request.

Returns: int

SubStatusCodes.ReadQuorumNotMet

Full Usage: SubStatusCodes.ReadQuorumNotMet

Returns: int

With 503 Service Unavailable: the read quorum is not met.

Returns: int

SubStatusCodes.ReadSessionNotAvailable

Full Usage: SubStatusCodes.ReadSessionNotAvailable

Returns: int

With 404 Not Found: the read session is not available for the session token.

Returns: int

SubStatusCodes.RedundantCollectionPut

Full Usage: SubStatusCodes.RedundantCollectionPut

Returns: int

With 403 Forbidden: the container definition in the request is the same as the existing one.

Returns: int

SubStatusCodes.RedundantDatabasePut

Full Usage: SubStatusCodes.RedundantDatabasePut

Returns: int

With 403 Forbidden: the database definition in the request is the same as the existing one.

Returns: int

SubStatusCodes.ReplicationQueueFull

Full Usage: SubStatusCodes.ReplicationQueueFull

Returns: int

With 429 Too Many Requests: the replication queue is full.

Returns: int

SubStatusCodes.RequestPreempted

Full Usage: SubStatusCodes.RequestPreempted

Returns: int

With 408 Request Timeout: the request was preempted.

Returns: int

SubStatusCodes.ResourceNotFound

Full Usage: SubStatusCodes.ResourceNotFound

Returns: int

With 412 Precondition Failed: the resource is not found.

Returns: int

SubStatusCodes.ResourceSoftDeleted

Full Usage: SubStatusCodes.ResourceSoftDeleted

Returns: int

With 403 Forbidden: the resource is soft-deleted.

Returns: int

SubStatusCodes.RetriableWriteRequestResponseExpiredInPrimaryCache

Full Usage: SubStatusCodes.RetriableWriteRequestResponseExpiredInPrimaryCache

Returns: int

With 449 Retry With (inferred): the response of a retriable write request expired in the primary cache.

Returns: int

SubStatusCodes.RntbdClientChannel

Full Usage: SubStatusCodes.RntbdClientChannel

Returns: int

With 429 Too Many Requests: throttled by the RNTBD client channel.

Returns: int

SubStatusCodes.RoutingMapSnapshotInconsistent

Full Usage: SubStatusCodes.RoutingMapSnapshotInconsistent

Returns: int

With 503 Service Unavailable: the routing map snapshot is inconsistent.

Returns: int

SubStatusCodes.RuBudgetExceeded

Full Usage: SubStatusCodes.RuBudgetExceeded

Returns: int

With 429 Too Many Requests: the request units per second budget is exceeded.

Returns: int

SubStatusCodes.RuBudgetExceededForMaster

Full Usage: SubStatusCodes.RuBudgetExceededForMaster

Returns: int

With 429 Too Many Requests: the request units per second budget of the master partition is exceeded.

Returns: int

SubStatusCodes.RupmPartitionLimitExceeded

Full Usage: SubStatusCodes.RupmPartitionLimitExceeded

Returns: int

With 429 Too Many Requests: the request units per minute limit of the partition is exceeded.

Returns: int

SubStatusCodes.RupmSharedBudgetExceeded

Full Usage: SubStatusCodes.RupmSharedBudgetExceeded

Returns: int

With 429 Too Many Requests: the shared request units per minute budget is exceeded.

Returns: int

SubStatusCodes.SasTokenAuthDisabled

Full Usage: SubStatusCodes.SasTokenAuthDisabled

Returns: int

With 401 Unauthorized (inferred): SAS token authentication is disabled for the account.

Returns: int

SubStatusCodes.SchemaHashOrIdMismatch

Full Usage: SubStatusCodes.SchemaHashOrIdMismatch

Returns: int

With 400 Bad Request: the schema hash or id does not match.

Returns: int

SubStatusCodes.SchemaOwnerIdMismatch

Full Usage: SubStatusCodes.SchemaOwnerIdMismatch

Returns: int

With 400 Bad Request: the schema owner id does not match.

Returns: int

SubStatusCodes.ScriptCompileError

Full Usage: SubStatusCodes.ScriptCompileError

Returns: int

With 400 Bad Request: a stored procedure, trigger or user-defined function failed to compile.

Returns: int

SubStatusCodes.ServerGenerated410

Full Usage: SubStatusCodes.ServerGenerated410

Returns: int

With 503 Service Unavailable: a 410 Gone from the service that SDK retries did not resolve.

Returns: int

SubStatusCodes.ServerGenerated503

Full Usage: SubStatusCodes.ServerGenerated503

Returns: int

With 503 Service Unavailable: a 503 Service Unavailable from the service.

Returns: int

SubStatusCodes.ServiceIsOffline

Full Usage: SubStatusCodes.ServiceIsOffline

Returns: int

With 503 Service Unavailable: the service is offline.

Returns: int

SubStatusCodes.ServiceModule

Full Usage: SubStatusCodes.ServiceModule

Returns: int

With 429 Too Many Requests: throttled by a service module.

Returns: int

SubStatusCodes.SharedThroughputDatabaseCollectionCountExceeded

Full Usage: SubStatusCodes.SharedThroughputDatabaseCollectionCountExceeded

Returns: int

With 403 Forbidden: the number of containers in a shared throughput database is exceeded.

Returns: int

SubStatusCodes.SharedThroughputDatabaseCountExceeded

Full Usage: SubStatusCodes.SharedThroughputDatabaseCountExceeded

Returns: int

With 403 Forbidden: the number of shared throughput databases is exceeded.

Returns: int

SubStatusCodes.SharedThroughputDatabaseQuotaExceeded

Full Usage: SubStatusCodes.SharedThroughputDatabaseQuotaExceeded

Returns: int

With 403 Forbidden: the quota of containers in a shared throughput database is exceeded.

Returns: int

SubStatusCodes.SharedThroughputOfferGrowNotNeeded

Full Usage: SubStatusCodes.SharedThroughputOfferGrowNotNeeded

Returns: int

With 403 Forbidden: the shared throughput offer does not need to grow.

Returns: int

SubStatusCodes.SinkPartitionValueDoesNotMatchExpectedBound

Full Usage: SubStatusCodes.SinkPartitionValueDoesNotMatchExpectedBound

Returns: int

With 429 Too Many Requests: a sink partition value does not match its expected bound.

Returns: int

SubStatusCodes.SplitIsDisabled

Full Usage: SubStatusCodes.SplitIsDisabled

Returns: int

With 412 Precondition Failed: splitting is disabled.

Returns: int

SubStatusCodes.SplitTimedOut

Full Usage: SubStatusCodes.SplitTimedOut

Returns: int

With 500 Internal Server Error: a partition split timed out.

Returns: int

SubStatusCodes.StalenessExceededBound

Full Usage: SubStatusCodes.StalenessExceededBound

Returns: int

With 429 Too Many Requests: the staleness exceeded its bound.

Returns: int

SubStatusCodes.StorageSplitConflictingWithNWayThroughputSplit

Full Usage: SubStatusCodes.StorageSplitConflictingWithNWayThroughputSplit

Returns: int

With 412 Precondition Failed: a storage split conflicts with an n-way throughput split.

Returns: int

SubStatusCodes.StoreNotReady

Full Usage: SubStatusCodes.StoreNotReady

Returns: int

With 404 Not Found: the store is not ready.

Returns: int

SubStatusCodes.StoredProcedureConcurrency

Full Usage: SubStatusCodes.StoredProcedureConcurrency

Returns: int

With 429 Too Many Requests: too many concurrent stored procedure executions.

Returns: int

SubStatusCodes.SystemPartitionKeyNotAllowed

Full Usage: SubStatusCodes.SystemPartitionKeyNotAllowed

Returns: int

With 403 Forbidden: a system partition key is not allowed.

Returns: int

SubStatusCodes.SystemResourceUnavailable

Full Usage: SubStatusCodes.SystemResourceUnavailable

Returns: int

With 429 Too Many Requests: a system resource is unavailable.

Returns: int

SubStatusCodes.ThinProxyGenerated401

Full Usage: SubStatusCodes.ThinProxyGenerated401

Returns: int

With 401 Unauthorized (inferred): generated by the thin client proxy.

Returns: int

SubStatusCodes.ThinProxyGenerated408

Full Usage: SubStatusCodes.ThinProxyGenerated408

Returns: int

With 408 Request Timeout (inferred): generated by the thin client proxy.

Returns: int

SubStatusCodes.ThinProxyGenerated500

Full Usage: SubStatusCodes.ThinProxyGenerated500

Returns: int

With 500 Internal Server Error (inferred): generated by the thin client proxy.

Returns: int

SubStatusCodes.ThinProxyGenerated503

Full Usage: SubStatusCodes.ThinProxyGenerated503

Returns: int

With 503 Service Unavailable (inferred): generated by the thin client proxy.

Returns: int

SubStatusCodes.ThinProxyMultipleAccountsNotAllowed

Full Usage: SubStatusCodes.ThinProxyMultipleAccountsNotAllowed

Returns: int

With 400 Bad Request (inferred): the thin client proxy does not allow multiple accounts on the same connection.

Returns: int

SubStatusCodes.ThinProxyPublicEndpointDisabled

Full Usage: SubStatusCodes.ThinProxyPublicEndpointDisabled

Returns: int

With 403 Forbidden (inferred): the public endpoint of the thin client proxy is disabled.

Returns: int

SubStatusCodes.ThinProxyRequestThrottled

Full Usage: SubStatusCodes.ThinProxyRequestThrottled

Returns: int

With 429 Too Many Requests (inferred): the thin client proxy throttled the request.

Returns: int

SubStatusCodes.ThrottleDueToEncryptedRevokedStoreLogNotEmpty

Full Usage: SubStatusCodes.ThrottleDueToEncryptedRevokedStoreLogNotEmpty

Returns: int

With 429 Too Many Requests: throttled because the log of a revoked encrypted store is not empty.

Returns: int

SubStatusCodes.ThrottleDueToReplicationBackpressure

Full Usage: SubStatusCodes.ThrottleDueToReplicationBackpressure

Returns: int

With 429 Too Many Requests: throttled by replication back pressure.

Returns: int

SubStatusCodes.ThrottleDueToResourceExhaustion

Full Usage: SubStatusCodes.ThrottleDueToResourceExhaustion

Returns: int

With 429 Too Many Requests: throttled because of resource exhaustion.

Returns: int

SubStatusCodes.ThrottleDueToSplit

Full Usage: SubStatusCodes.ThrottleDueToSplit

Returns: int

With 429 Too Many Requests: throttled because of a partition split.

Returns: int

SubStatusCodes.ThrottleDueToStagingIndexQueueFull

Full Usage: SubStatusCodes.ThrottleDueToStagingIndexQueueFull

Returns: int

With 429 Too Many Requests: throttled because the staging index queue is full.

Returns: int

SubStatusCodes.ThrottleDueToTrafficRegulation

Full Usage: SubStatusCodes.ThrottleDueToTrafficRegulation

Returns: int

With 429 Too Many Requests: throttled by traffic regulation.

Returns: int

SubStatusCodes.ThrottleDueToTransportBufferUsage

Full Usage: SubStatusCodes.ThrottleDueToTransportBufferUsage

Returns: int

With 429 Too Many Requests: throttled because of transport buffer usage.

Returns: int

SubStatusCodes.ThrottledByBlobRead

Full Usage: SubStatusCodes.ThrottledByBlobRead

Returns: int

With 429 Too Many Requests: throttled by a blob read.

Returns: int

SubStatusCodes.ThrottledOfferScaleDown

Full Usage: SubStatusCodes.ThrottledOfferScaleDown

Returns: int

With 429 Too Many Requests: throttled because the throughput offer is scaling down.

Returns: int

SubStatusCodes.ThroughputBucketConfigurationChangeThrottled

Full Usage: SubStatusCodes.ThroughputBucketConfigurationChangeThrottled

Returns: int

With 429 Too Many Requests: the throughput bucket configuration was changed more than once in 10 minutes.

Returns: int

SubStatusCodes.ThroughputBucketMaxThroughputExceeded

Full Usage: SubStatusCodes.ThroughputBucketMaxThroughputExceeded

Returns: int

With 429 Too Many Requests: the throughput bucket exceeded its configured maximum throughput.

Returns: int

SubStatusCodes.ThroughputCapQuotaExceeded

Full Usage: SubStatusCodes.ThroughputCapQuotaExceeded

Returns: int

With 403 Forbidden: the account throughput cap is exceeded.

Returns: int

SubStatusCodes.ThroughputOfferNotFound

Full Usage: SubStatusCodes.ThroughputOfferNotFound

Returns: int

Generated by the client SDK, not the service, when the container has no throughput offer: the Python SDK pairs it with 404 Not Found, the Java SDK with 400 Bad Request.

Returns: int

SubStatusCodes.TombstoneRecordsNotFound

Full Usage: SubStatusCodes.TombstoneRecordsNotFound

Returns: int

With 412 Precondition Failed: the tombstone records are not found.

Returns: int

SubStatusCodes.TooManyTentativeWritesToSatelliteRegion

Full Usage: SubStatusCodes.TooManyTentativeWritesToSatelliteRegion

Returns: int

With 503 Service Unavailable: there are too many tentative writes to a satellite region.

Returns: int

SubStatusCodes.TransactionAlreadyActive

Full Usage: SubStatusCodes.TransactionAlreadyActive

Returns: int

With 400 Bad Request: a transaction is already active.

Returns: int

SubStatusCodes.TransactionLimitExceeded

Full Usage: SubStatusCodes.TransactionLimitExceeded

Returns: int

With 413 Request Entity Too Large: the transaction limit is exceeded.

Returns: int

SubStatusCodes.TransientServiceConditionStart

Full Usage: SubStatusCodes.TransientServiceConditionStart

Returns: int

With 503 Service Unavailable: this and every greater sub-status is a transient service condition.

Returns: int

SubStatusCodes.UndefinedDefaultIdentity

Full Usage: SubStatusCodes.UndefinedDefaultIdentity

Returns: int

With 403 Forbidden (inferred), customer-managed keys: the account has no default identity.

Returns: int

SubStatusCodes.Unexpected

Full Usage: SubStatusCodes.Unexpected

Returns: int

With 429 Too Many Requests: throttled for an unexpected reason.

Returns: int

SubStatusCodes.UnhealthyEventFound

Full Usage: SubStatusCodes.UnhealthyEventFound

Returns: int

With 503 Service Unavailable (inferred): an unhealthy event was found.

Returns: int

SubStatusCodes.UniqueIndexConflict

Full Usage: SubStatusCodes.UniqueIndexConflict

Returns: int

With 409 Conflict: the item violates a unique key constraint.

Returns: int

SubStatusCodes.UniqueIndexReindexInProgress

Full Usage: SubStatusCodes.UniqueIndexReindexInProgress

Returns: int

With 403 Forbidden: a unique index re-indexing is in progress.

Returns: int

SubStatusCodes.Unknown

Full Usage: SubStatusCodes.Unknown

Returns: int

No sub-status: the response has no x-ms-substatus header or it is 0.

Returns: int

SubStatusCodes.ValueDoesNotMatchExpectedBound

Full Usage: SubStatusCodes.ValueDoesNotMatchExpectedBound

Returns: int

With 429 Too Many Requests: a value does not match its expected bound.

Returns: int

SubStatusCodes.WriteBarrierThrottled

Full Usage: SubStatusCodes.WriteBarrierThrottled

Returns: int

With 503 Service Unavailable: the write barrier request was throttled.

Returns: int

SubStatusCodes.WriteForbidden

Full Usage: SubStatusCodes.WriteForbidden

Returns: int

With 403 Forbidden: a write was sent to a region that no longer accepts writes during a manual failover.

Returns: int

SubStatusCodes.WriteRegionBarrierChangedMidOperation

Full Usage: SubStatusCodes.WriteRegionBarrierChangedMidOperation

Returns: int

With 503 Service Unavailable (inferred): generated by the .NET SDK: the write region barrier changed in the middle of the operation.

Returns: int

SubStatusCodes.XpCompositeReplicator

Full Usage: SubStatusCodes.XpCompositeReplicator

Returns: int

With 429 Too Many Requests: throttled by the composite replicator.

Returns: int