CARS API Errors#
This section contains information about errors returned by the CARS API.
The list of CARS API errors is shown in Table 30.
Table 30. List of CARS API errors
Error name | Request type | Description |
---|---|---|
unknown classifier | classify; bulk_classify | unknown detector |
parse error - unexpected :; expected end of input | classify | Syntax error |
Failed to process image | detect; classify | Incorrect input image |
Failed to process json body | classify; bulk_classify; detect | Incorrect JSON request structure |
Data validation error | classify; bulk_classify; detect | Fields specified in JSON request not found |
Internal Server Error | classify; bulk_classify; detect | Internal Server Error |
Bulk classify request does not support 'rus_spec_recognition_v1' classifier | bulk_classify | «rus_spec_recognition_v1» classifier is not supported |
Failed to process image | bulk_classify | Incorrect input image |
unknown detector | bulk_classify | unknown detector |
Request body is empty | classify; bulk_classify; detect | Empty request |
Object photos is not array |
bulk_classify | Photo must be an array |
Classifiers list is empty. | bulk_classify | Empty list of classifiers |
Array detectors should consist of only string elements |
detect | The names of the detectors should be strings |
Object classifiers is not an array |
classify; bulk_classify | Classifiers must be passed as an array |
Array classifiers should consist of only string elements |
classify; bulk_classify | Classifier names must be strings |
Object detectors is not an array |
detect | Detectors should be passed as an array |
Requested unknown classifier | classify | Unknown classifier requested |