This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Parameter value error.
Description
Invalid parameter value.
Possible causes
The length of the parameter value (string) exceeds the valid range.
The parameter value is out of the valid range.
The input ID does not exist.
The permission is restricted.
Solution
Check whether the length of the parameter value (string) exceeds the valid range.
Check whether the parameter value is out of range.
Call the getEvents API to obtain the event with the corresponding ID and check whether the passed ID exists.
Check whether the permission is restricted.
Error Message
The specified account was not found.
Description
The specified account does not exist.
Possible causes
The entered account does not match the created account, so the queried account does not exist.
Solution
Use the created account instead of a non-created one.
Error Message
Internal program errors.
Description
An internal program error occurred.
Possible causes
dataShare database execution error.
Null pointer error.
Data parsing error.
Solution
An internal exception has occurred. Try again later.
Error Message
This event cannot be edited.
Description
The event cannot be edited.
Possible causes
The event with the corresponding ID cannot be edited.
Solution
Check the type of the account to which the event belongs. Only local accounts can view and edit events.
Check the event type. Important events cannot be viewed or edited.