This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
General error.
Symptom
This error code is reported if an internal system error occurs.
Possible Cause
The internal system processing is abnormal.
Solution
A system error has occurred. Try again later.
Error Message
Invalid parameter value.
Symptom
Parameter verification failed.
Possible Cause
A null parameter is incorrect (Null Argument Error).
A parameter format is incorrect (Format Error).
A value range is incorrect (Value Range Error).
Solution
Please review the parameter specification constraints and perform troubleshooting based on the possible causes.
Error Message
Background usage is prohibited.
Description
Background service calling is prohibited.
Possible Causes
The service is called in the background.
Solution
Ensure that the caller is running in the foreground.
Error Message
The number of contacts exceeds the limit.
Description
The number of contacts exceeds the limit.
Possible Causes
The number of contacts passed in exceeds the upper limit.
Solution
Check the number of contacts.
Error Message
Failed to get value from contacts data.
Symptom
This error code is reported if database query fails.
Possible Cause
Database operation has failed.
Solution
Database access has failed. Try again later.
Error Message
Failed to set value to contacts data.
Symptom
This error is reported if the attempt to add, delete, or modify data in the database fails.
Possible Cause
Database operation has failed.
Solution
Database access has failed. Try again later.
Error Message
User cancel.
Symptom
This error code is reported if an operation is canceled by the user.
Possible Cause
The user cancels the operation.
Solution
The user cancels the operation. Try again later.
Error Message
Failed to open contact portrait file.
Description
The contact portrait file fails to be opened.
Possible Causes
The portrait file path is incorrect, the file does not exist, or the disk is damaged.
Solution
Check whether the file exists.
Error Message
Internal error. Invalid contact id. Failed to generate contact profile.
Description
The ID of the internal associated contact is invalid.
Possible Causes
The internal system processing is abnormal.
Solution
A system error has occurred. Try again later.
Error Message
Internal error. Failed to save contact portrait.
Description
The contact portrait fails to be saved.
Possible Causes
The portrait file is abnormal, or the internal system processing is abnormal.
Solution
Check the file.
Error Message
Internal error. The query resultSet is nullptr.
Description
The database query result set is a null pointer.
Possible Causes
The internal system processing is abnormal.
Solution
A system error has occurred. Try again later.
Error Message
Internal error. The query resultSet is empty.
Description
The database query result set exists but contains no data.
Possible Causes
The internal system processing is abnormal.
Solution
A system error has occurred. Try again later.