Automatic Speech Recognition API Error Reference
This page contains a reference of error codes and their descriptions for errors related to the Automatic Speech Recognition (ASR) APIs.
For more details about the ASR Evaluation API, see Automatic Speech Recognition API Reference
HTTP Status | Description | Example |
---|---|---|
HTTP 400 BadRequest | Thrown when the request payload has violations. |
HTTP 400 Bad Request Content-Type: application/json { "message": "The request payload failed validations", "violations": [ { "code": "RESOURCE_NOT_FOUND", "message": "The \"uploadId\" value of XXXX at property path \"$.annotations[0].uploadId\" cannot be found" }, { "code": "RESOURCE_NOT_FOUND", "message": "The \"filePathInUpload\" at property path \"$.annotationns[0].contents[0].filePathInUpload\" cannot be found in \"uploadId\" at property path \"$.annotations[0].uploadId\"" }, { "code": "INVALID_ARRAY_SIZE", "message": "The number of annotations at property path \"$.annotations\" exceed the limit of 1000" }, { "code": "MISSING_REQUIRED_PROPERTY", "message": "Object instance at property path \"$\" has missing required property \"annotations\"" }, { "code": "INVALID_INTEGER_VALUE", "message": "The \"weight\" property at property path \"$.annotations[1].contents[2].weight\" is outside the allowed range. Actual value: 0, Minimum value: 1" }, { "code": "INVALID_STRNG_LENGTH", "message": "The \"expectedTranscription\" property at property path \"$.annotations[0].contents[1].expectedTrasncription\" is outside the allowed range. Actal length: 501, Maximum length: 500" }, { "code": "PARAMETER_EXPIRED", "message": "The \"nextToken\" query parameter expired" } ] } |
HTTP 409 Conflict | Thrown when posting an evaluation while an evaluation is already running. |
{ "message": "The evaluation request conflicts with another one currently being processed", "code": "CONFLICTING_INSTANCES" } |
HTTP 404 Not Found | Thrown when the requested resource cannot be found. |
{ "message": "The requested resource cannot be found", "code": "RESOURCE_NOT_FOUND" } |
HTTP 401 Unauthorized | Thrown when your developer account is not authorized. |
{ "message": "The access token has expired" } |
HTTP 403 Forbidden | Thrown when you do not have privilege to access the skill. |
{ "message": "The skill cannot be accessed" } |
HTTP 404 Not Found | Thrown when the skill cannot be found |
{ "message": "The skill cannot be found" } |
HTTP 429 Too Many Requests | Thrown when the request is throttled. |
{ "message": "Too many requests" } |
HTTP 503 Service Unavailable | Thrown when the service is unavailable. | { "message": "Service unavailable" } |
HTTP 500 Internal Server Error | Thrown when there is an internal server error. |
{ "message": "An internal server error occurred", "code": "INTERNAL_SERVER_ERROR" } |
Related topics
- What is Automatic Speech Recognition?
- Create an Annotation Set for Automatic Speech Recognition (ASR)
- Run an Automatic Speech Recognition (ASR) Evaluation
- Improve your Automatic Speech Recognition (ASR) Test Results
- Create annotation set API
- Update annotation set annotations API
- Post ASR evaluation API
- Get ASR evaluation results API
- Create catalog API
- Batch Test Your Natural Language Understanding (NLU) Model