This topic describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.
Message
The number of records (N) exceeds the maximum.
Description
The number of data records exceeds the maximum.
Possible causes
The number of data records exceeds the maximum.
Solution
Limit the number of items that can be shared.
Message
Record types are not support.
Description
The data record type is not supported.
Possible causes
1. The data record type cannot be identified, is not supported, or is invalid.
2. The uri and content parameters in SharedRecord are both empty.
3. The value of uri is in an invalid format.
Solution
1. Verify that the data type is a preset type defined by UniformDataType or a known custom type.
2. Verify that either uri or content is set in SharedRecord.
3. Verify the format of the value of uri.
Message
IPC data is oversized, data size larger than 200KB.
Description
The data transmitted across processes exceeds the upper limit (200 KB).
Possible causes
Solution
1. Compress the thumbnail binary data passed through SharedRecord.
2. Limit the number of characters in the text that can be shared by a user.
Message
Parse data failed.
Description
The want data which contains key information about the shared data is invalid and cannot be parsed.
Possible causes
Solution
1. Terminate the shared data processing through the ability of the target app.
2. Display a message to the user indicating the data sharing error.