Error Code | Value | Description | Solution |
|---|---|---|---|
HwIDConstant.RETCODE.SIGN_IN_AUTH | 2002 | The app has not been authorized. This error code is generally returned during a call of the silentSignIn API. | Call AccountAuthService.SignIn to perform sign-in authorization. |
HwIDConstant.RETCODE.SIGN_IN_PARAMS_ERROR | 2003 | Invalid parameter for calling a method. The possible cause is that the method is not properly used. | Check the parameter settings. |
HwIDConstant.RETCODE.SIGN_IN_NETWORK_ERROR | 2005 | A network error occurs during authorization. | Check whether the network is connected and try again later. |
HwIDConstant.RETCODE.INVALID_AT_ERROR | 2008 | The access token passed to the independent authorization method has expired. | Obtain a new access token. |
HwIDConstant.RETCODE.SIGN_IN_AUTH_SERVER_FAILED | 2009 | The Account Kit server is faulty. | - |
HwIDConstant.RETCODE.SIGN_IN_CANCELLED | 2012 | The user taps the back button to cancel the sign-in. | - |
HwIDConstant.RETCODE.SIGN_IN_EXECUTING | 2013 | The user is signing in. | Wait for the authorization result or cancel the authorization. |
HwIDConstant.RETCODE.INDEPENDENT_AUTH_NOT_ALLOW | 2026 | Children's accounts do not support independent authorization. | - |
HwIDConstant.RETCODE.HMS_CORE_NOT_INSTALLED | 2032 | HMS Core (APK) is not installed. | Ensure that HMS Core (APK) is installed. |
HwIDConstant.RETCODE.ERROR_SINGLE_FRAME | 2033 | The single-frame version of HarmonyOS is in use, which does not support SDK loading. | Use the dual-frame version of HarmonyOS. |
HwIDConstant.RETCODE.SDK_INIT_FAIL | 2034 | SDK initialization failed. | Initialize the SDK for another two or three times. If the error persists, the current ROM does not match the SDK. Use the SDK again after changing the ROM. |
HwIDConstant.RETCODE.GET_SERVICE_FAIL | 2035 | AccountAuthService failed to be obtained. | Try to obtain it for another two or three times. If the error persists, the current ROM does not match the SDK. Use the SDK again after changing the ROM. |
If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.