目录

Result CodeDescriptionSolution
CE-001Failed to obtain the collection server URL.Check whether collector_url is set in the agconnect-services.json configuration file. Do not change the URL specified by this parameter.
NE-001Failed to initialize the SSL connection.Integrated in an Eclipse project: Check whether the CA root certificate file hianalyticscas.bks exists in the assets directory of the SDK release package.
Integrated in an Android Studio project: Go to Support > Customer Service > Submit Question Online to submit your problem. Huawei technical support engineers  will handle it in a timely manner.
NE-002Failed to verify the certificate.Integrated in an Eclipse project: Check whether the CA root certificate file hianalyticscas.bks exists in the assets directory of the SDK release package.
Integrated in an Android Studio project: Go to Support > Customer Service > Submit Question Online to submit your problem. Huawei technical support engineers will handle it in a timely manner.
NE-003No network permission.Check whether you have the network permission.
NE-004I/O exception.Go to Support  > Customer Service  > Submit Question Online to submit your problem. Huawei technical support engineers will handle it in a timely manner.
NE-005Connection  error.Check the network connection and try again.
NE-006Incorrect URL.Check whether the value of collector_url in the agconnect-services.json configuration file is changed. Do not use an invalid URL.
PE-001Empty parameter.Check whether the input parameter is empty based on logs.
PE-002The parameter value contains more than 256 characters.Check whether the value of the input parameter contains more  than 256 characters.
PE-003Mandatory parameters are missing.Check whether any mandatory parameters are missing.
PE-004Reserved parameters are used.Check whether any input parameters are key parameters reserved in the system (such as the event ID and attribute ID in automatic collection).
PE-005Too many event parameters.Check whether too many parameters are passed to the bundle structure. A maximum of 2048 key-value pairs are allowed in the bundle structure and the length can be 200 KB at most. A maximum of 25 key-value pairs of user attributes are supported.
PE-006Incorrect format of parameter names.Check whether parameter names such as the event ID and bundle  key meet the verification rules.
IE-001SDK not initialized in the main thread.Initialize the SDK in the main thread.
IE-002App not released in HUAWEI AppGallery.Release the app in HUAWEI AppGallery.
IE-003HA SDK not initialized.Check whether result code IE-004 or IE-005 is reported.
IE-004AppGallery Connect Core SDK not integrated.Check whether the agconnect-core SDK is stored in the External Libraries directory of the project.
IE-005Correct HMS Core SDK not obtained.Check whether SDK packages hms:opendevice and hms:base are stored in the External Libraries directory of the project and whether their versions match the HMS Core Analytics SDK version.
IE-006Collection function disabled.Check whether the collection function (specified by setAnalyticsEnabled) is disabled.
SE-001Failed to initialize the SDK.
Check whether error code SE-002 or SE-003 is reported.
 
SE-002Failed to obtain the AAID.Check whether SDK packages hms: opendevice and hms:base are stored in the External Libraries directory of the project and whether their versions match the HMS Core Analytics SDK version.
SE-003Failed to obtain a token from AppGallery Connect.Check whether the agconnect-core SDK is stored in the External Libraries directory of the project.