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
Name | Value | Description |
---|---|---|
NoError | 0 | No error. If CancellationReason is EndOfStream, CancellationErrorCode is set to NoError. |
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. |
TooManyRequests | 3 | Indicates that the number of parallel requests exceeded the number of allowed concurrent transcriptions for the subscription. |
Forbidden | 4 | Indicates that the free subscription used by the request ran out of quota. |
ConnectionFailure | 5 | Indicates a connection error. |
ServiceTimeout | 6 | Indicates a time-out error after waiting for response from the Speech service. |
ServiceError | 7 | Indicates that an error is returned by the Speech service. |
ServiceUnavailable | 8 | Indicates that the Speech service is currently unavailable. |
RuntimeError | 9 | Indicates an unexpected runtime error. |
EmbeddedModelError | 12 | Indicates the embedded speech (SR or TTS) model is not available or corrupted. |
Applies to
Azure SDK for .NET