CancellationErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists error codes possible when CancellationReason is Error. Added in 1.1.0
public enum CancellationErrorCode
type CancellationErrorCode =
Public Enum CancellationErrorCode
- Inheritance
-
CancellationErrorCode
Fields
AuthenticationFailure | 1 | 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. |
BadRequest | 2 | Indicates that one or more recognition parameters are invalid or the audio format is not supported. |
ConnectionFailure | 5 | Indicates a connection error. |
EmbeddedModelError | 12 | Indicates the embedded speech (SR or TTS) model is not available or corrupted. |
Forbidden | 4 | Indicates that the free subscription used by the request ran out of quota. |
NoError | 0 | No error. If CancellationReason is EndOfStream, CancellationErrorCode is set to NoError. |
RuntimeError | 9 | Indicates an unexpected runtime error. |
ServiceError | 7 | Indicates that an error is returned by the Speech service. |
ServiceTimeout | 6 | Indicates a time-out error after waiting for response from the Speech service. |
ServiceUnavailable | 8 | Indicates that the Speech service is currently unavailable. |
TooManyRequests | 3 | Indicates that the number of parallel requests exceeded the number of allowed concurrent transcriptions for the subscription. |
Applies to
Azure SDK for .NET