This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.
Error Message
The number of records exceeds the maximum.
Error Description
The number of data records exceeds the maximum.
Possible Causes
The number of data records exceeds the maximum, which is 500 currently.
Solution
Limit the number of items that can be shared.
Error Message
Record types are not support.(The batch and multiple selection modes support { @link UDMF.File } type records only.)
Error Description
The data record type is not supported.
Possible Causes
The data record type cannot be identified, is not supported, or is invalid.
The uri and content parameters in SharedRecord are both empty.
The value of uri is in an invalid format.
Solution
Check whether the data type is a preset UniformDataType type or a known custom type.
Verify that either uri or content is set in SharedRecord.
Verify the format of the value of uri.
Error Message
IPC data is oversized.
Error Description
The data transmitted across processes exceeds the upper limit (200 KB, including parameters in the want data.)
Possible Causes
The thumbnail is too large.
There is too much text content.
Solution
Compress the thumbnail binary data passed through SharedRecord.
Limit the number of characters in the text that can be shared by a user.
Error Message
Parse data failed.
Error Description
The want data which contains key information about the shared data is invalid and cannot be parsed.
Possible Causes
The input parameter is invalid during the getContactInfo/getSharedData call. For example, the parsed field does not match (non-shared data) or the parsed field does not exist.
Solution
Terminate the shared data processing through the ability of the target app.
Display a message to the user indicating the data sharing error.