Error Codes
Error Code Segments
Error codes are segmented by functional module:
| Prefix | Module |
|---|---|
100xx | Device & System |
200xx | Live View |
300xx | Recording |
400xx | AI Inference |
500xx | Terminal & Logs |
Device & System (100xx)
| Code | Description |
|---|---|
10001 | Password too weak |
10002 | Token expired |
10003 | A firmware download is already in progress |
10004 | Port number out of range |
10005 | Port number already in use |
HTTP Status Codes
| HTTP Status | Description |
|---|---|
200 | Request successful |
401 | Not authenticated or Token invalid |
404 | Endpoint not found |
405 | Method not allowed |
500 | Internal server error |
Authentication Errors
When a request does not carry a Token or the Token has expired, the device returns:
{
"code": 401,
"message": "Unauthorized: Invalid token or NO token provided"
}
Resolution: Log in again to obtain a new Token, and include Cookie: token=<JWT_TOKEN> in subsequent requests.
Technical Support and Product Discussion
Thank you for choosing our products! We are here to provide you with various support to ensure your experience with our products is as smooth as possible. We offer multiple communication channels to meet different preferences and needs.