Error Codes
The HiLens Framework returns error codes using enumeration types. If an error occurs when an API is called and an error code is returned, you can view the following enumeration types to obtain the error information:
Error Code |
Description |
---|---|
UNKNOWN_ERROR |
Unknown error. |
INIT_CURL_ERROR |
CURL initialization error. |
CREATE_DIR_FAILED |
Failed to create folders. |
OPENFILE_FAILED |
Failed to open files. |
RENAME_FAILED |
Renaming failed. |
ACCESS_FILE_FAILED |
The file does not exist or you do not have the permission to access the file. |
INVALID_BUF |
Invalid buffer. |
COULDNT_RESOLVE_HOST |
Parsing failed. Check whether the network connection is normal. |
WRITE_ERROR |
Write error. Check whether you have the write permission on the downloaded directory and whether the space is sufficient. |
TIMEOUT |
Request timeout. |
AUTH_FAILED |
Incorrect authentication information. Check whether the AK, SK, and token are valid. |
NOT_FOUND |
The object does not exist. |
SERVER_ERROR |
Internal service error. |
OBJECT_CONFLICT |
Object conflict. |
APPEND_FAILED |
Appending failed (for example, appending to an object that cannot be appended). |
HIAI_SEND_DATA_FAILED |
HiAI engine fails to send data. Analyze the fault based on logs. |
HIAI_INFER_ERROR |
HiAI engine inference error. Analyze the fault based on logs. The possible cause is that the actual input size does not match the input size of the model. |
INVALID_SRC_SIZE |
During image processing, the src size does not meet the constraints. |
INVALID_DST_SIZE |
During image processing, the dst size does not meet the constraints. |
MPP_PROCESS_FAILED |
The MPP fails to process images. |
WEBSOCKET_ERROR |
WebSocket error. |
CONFIG_FILE_ERROR |
Incorrect configuration file. |
INVALID_PARAM |
Incorrect parameter. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot