This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.
Message
Internal error.
Symptom
Internal error.
Possible causes
An exception occurred when other system APIs are called in the API execution process.
Solution
Try again later. If the error persists, submit a ticket online.
Message
The network is unreachable.
Symptom
Device network error.
Possible causes
The device is not connected to the network.
Solution
Connect to the network and send the request again.
Message
Access cloud server fail.
Symptom
An exception occurred when accessing the cloud server.
Possible causes
The cloud service is unstable or faulty.
Solution
Send the request again.
Message
Verify capability fail.
Symptom
The SafetyDetect service is not enabled for the app.
Possible causes
The service is not enabled for the app in AppGallery Connect.
The service has been enabled for the app, but a new profile has not been applied for.
Solution
Enable the SafetyDetect service.
Enable the SafetyDetect service in AppGallery Connect by referring to Enabling Device Security Kit.
Request a new profile, and use it as the signature file of the project to try again.
Message
The number of calls exceeds the parallel threshold.
Symptom
The number of concurrent API calls exceeds the upper limit.
Possible causes
Your app or other apps concurrently call the API, resulting in that the number of API calls exceeds the upper limit.
A maximum of five concurrent calls are supported on each device.
Solution
You are advised to retry after a while, for example, 1 second.
Message
The invoking frequency exceeds the threshold.
Symptom
The number of times that the API is called within the specified time exceeds the upper limit.
Each app can call the system integrity check API for up to 10,000 times per day and five times per minute on each device.
Possible causes
The API is called too many times in the specified time.
Solution
Adjust your API call frequency based on the frequency limit. Call the API again in the next statistical period.
Message
Operation timeout.
Symptom
The API execution timed out.
Possible causes
The system is overloaded or the network is congested.
Solution
Send the request again.
Message
The cloud service traffic exceeds the threshold.
Symptom
The number of cloud service requests exceeds the threshold.
Possible causes
A large number of devices call cloud service APIs at the same time.
Solution
You are advised to retry after a while, for example, 5 seconds. If the retry fails again, retry with an exponentially increasing interval each time.
Message
Failed to query the risk factor.
Symptom
Failed to query risk factors.
Possible causes
An exception occurred when other system APIs are called in the API execution process.
Solution
Try again later. If the error persists, submit a ticket online.