This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Failed to connect to the service.
Description
This error code is reported if a service connection failure occurs.
Possible Causes
The service is abnormal.
Solution
Check the system service running status and try again. If the problem persists, collect complete logs and contact technical support for assistance.
Error Message
System internal error.
Description
This error code is reported if a system internal error occurs.
Possible Causes
The memory is abnormal.
A null pointer is present.
Solution
Check whether the memory space is sufficient. If not, clear the memory and try again.
The system is abnormal. Try again later or restart the device. If the problem persists, collect complete logs and contact technical support for assistance.
Error Message
Callback not found.
Description
The target service is not found.
Possible Causes
An unregistered mDNS service is being unregistered, or the search for an mDNS service not being searched is being cancelled.
Solution
Check whether the input parameters for the APIs to unregister mDNS and cancel mDNS search are correct.
Error Message
Callback duplicated.
Description
This error code is reported if a callback already exists.
Possible Causes
An mDNS service with the same name and type is repeatedly registered.
Solution
Check whether the mDNS service to be registered already exists.
Error Message
Service instance duplicated.
Description
This error code is reported if an mDNS service already exists.
Possible Causes
The previously registered mDNS service is still running.
Solution
Check whether the mDNS service already exists.
Error Message
Failed to delete the service instance.
Description
This error code is reported if the mDNS service to be removed does not exist.
Possible Causes
The service has been deleted.
Solution
Check whether the mDNS service to be registered already exists.
Error Message
Failed to send packet.
Description
Data packets fail to be sent.
Possible Causes
No network is available.
Solution
Check whether the device is connected to an available network.
Error Message
Failed to send the message.
Description
Failed to send the message.
Possible Causes
The mDNS service does not exist on the LAN.
Solution
Check whether the target mDNS service exists on the LAN.
Error Message
Request timeout.
Description
This error code is reported if mDNS services of the specified type fail to be resolved.
Possible Causes
mDNS services of the specified type do not exist on the LAN.
Solution
Check whether mDNS services of the specified type exist on the LAN.