ZPNs Error Codes
If the errorCode
field exists in the return result after calling the ZPNs interface, it indicates that the interface call has an exception. The example code is as follows:
Untitled
@Override
protected void onRegistered(Context context, ZPNsRegisterMessage message) {
message.getErrorCode();
message.getMsg();
}
1
Return Code | Possible Cause and Solutions |
---|---|
0 | Success. |
6000401 | Connection failed. Check network status and retry. |
6000402 | Incorrect AppIDs or AppKeys related to device manufacturers provided. Verify the configuration for accuracy. |
6000403 | Error from calling device manufacturers' API to obtain PushID. Refer to the provided content in the error message from device manufacturers for resolution. |
6000404 | Exception or failure in Push registration for other reasons. Address the issue based on the details in the error message. |
6000405 | Exception or failure in Push unregistration for other reasons. Resolve the problem according to the information in the error message. |