Share via


Enum SPXCancellationErrorCode

Defines error code in case that CancellationReason is set to Error. Added in version 1.1.0.

Name Description
SPXCancellationErrorCode_NoError No error. If SPXCancellationReason is SPXCancellationReason_EndOfStream, SPXCancellationErrorCode is set to SPXCancellationErrorCode_NoError.
SPXCancellationErrorCode_AuthenticationFailure Indicates an authentication error. An authentication error occurs if subscription key or authorization token is invalid, expired, or does not match the region being used.
SPXCancellationErrorCode_BadRequest Indicates that one or more recognition parameters are invalid or the audio format is not supported.
SPXCancellationErrorCode_TooManyRequests Indicates that the number of parallel requests exceeded the number of allowed concurrent transcriptions for the subscription.
SPXCancellationErrorCode_Forbidden Indicates that the free subscription used by the request ran out of quota.
SPXCancellationErrorCode_ConnectionFailure Indicates a connection error.
SPXCancellationErrorCode_ServiceTimeout Indicates a time-out error when waiting for response from service.
SPXCancellationErrorCode_ServiceError Indicates that an error is returned by the service.
SPXCancellationErrorCode_ServiceUnavailable Indicates that the service is currently unavailable.
SPXCancellationErrorCode_RuntimeError Indicates an unexpected runtime error.
SPXCancellationErrorCode_EmbeddedModelError Indicates the embedded speech (SR or TTS) model is not available or corrupted.