CARS Stream Errors#
This section contains information about errors returned by the CARS Stream service.
The list of CARS Stream errors is shown in Table 15.
Table 15. List of CARS Stream errors
| Error code | Error name | Description |
|---|---|---|
| - | Internal Server Error | Internal Server Error |
| - | Data validation error | Fields specified in JSON request not found |
| - | Failed to process json body | Incorrect JSON request structure |
| - | parse error - unexpected :; expected end of input | Syntax error |
| - | unknown detector | unknown detector |
| 400 | Bad Request | Incorrect path of JSON request |
| 1 | Any streams are not found | Video stream with given UUID is not found |
| 1 | Stream with this uuid doesn't exist | Video stream with given UUID is not found |
| 2 | Unhandled exception some_exception_text | Internal error |
| 2 | Unhandled unknown exception | Internal error |
| 1 | Invalid Json format (not array) | JSON request does not include the array |
| 1 | Json exception: * Line X, Column Y Syntax error: some_error_text | Syntax error in JSON request body |
| 2 | Exception: some_exception_text | Request body is missing some field or some field has the wrong type |
| 2 | Unhandled unknown exception when parsing json | Parsing error of JSON request body |
| 1 | Json exception: Unsupported input type | Incorrect value of input type |
| 2 | Exception: Stream parameters invalid value | 1. Incorrect value of one of the fields: |
| - rotation; | ||
| - transport | ||
| 2. Field url is empty | ||
| 3. Field roi has negative value | ||
| 1 | Json exception: some_exception_text | Parsing error of JSON request body |
| 2 | Stream has been already opened | Video stream has been already opened |
| 2 | Couldn't open stream source | Error of opening the video source |
| 2 | Couldn't find or init appropriate codec for stream source | Video stream codec is not found |
| 2 | Couldn't init converter for stream source | Converter initialization error |