microg/GmsCore · error · StandardIntegrityException
NETWORK_ERROR
NETWORK_ERROR
Error message
No network is available
What it means
ExpressIntegrityService.warmUpIntegrityToken needs network access to fetch integrity tokens via DroidGuard; when connectivity is unavailable it throws StandardIntegrityException with this message, failing the warm-up request of the calling app.
Source
Thrown at vending-app/src/main/kotlin/com/google/android/finsky/expressintegrityservice/ExpressIntegrityService.kt:122
override fun warmUpIntegrityToken(bundle: Bundle, callback: IExpressIntegrityServiceCallback?) {
lifecycleScope.launchWhenCreated {
runCatching {
val callingPackageName = bundle.getString(KEY_PACKAGE_NAME)
if (callingPackageName == null) {
throw StandardIntegrityException(IntegrityErrorCode.INTERNAL_ERROR, "Null packageName.")
}
visitData = callerAppToIntegrityData(context, callingPackageName)
if (visitData?.allowed != true) {
throw StandardIntegrityException(IntegrityErrorCode.API_NOT_AVAILABLE, "Not allowed visit")
}
val playIntegrityEnabled = VendingPreferences.isDeviceAttestationEnabled(context)
if (!playIntegrityEnabled) {
throw StandardIntegrityException(IntegrityErrorCode.API_NOT_AVAILABLE, "API is disabled")
}
if (!context.isNetworkConnected()) {
throw StandardIntegrityException(IntegrityErrorCode.NETWORK_ERROR, "No network is available")
}
val expressIntegritySession = ExpressIntegritySession(
packageName = callingPackageName ?: "",
cloudProjectNumber = bundle.getLong(KEY_CLOUD_PROJECT, 0L),
sessionId = Random.nextLong(),
null,
0,
null,
webViewRequestMode = bundle.getInt(KEY_REQUEST_MODE, 0)
)
Log.d(TAG, "warmUpIntegrityToken session:$expressIntegritySession}")
updateExpressSessionTime(context, expressIntegritySession, refreshWarmUpMethodTime = true, refreshRequestMethodTime = false)
val clientKey = updateExpressClientKey(context)
val authToken = getAuthToken(context, AUTH_TOKEN_SCOPE)View on GitHub (pinned to 157c9d86ac)
Solutions
- Retry warm-up once connectivity is restored
- Check network availability before triggering token warm-up
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at vending-app/src/main/kotlin/com/google/android/finsky/expressintegrityservice/ExpressIntegrityService.kt:122 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of microg/GmsCore@157c9d86ac (2026-09-06).
Data as JSON: /api/errors/c59e59702a459823.
Report an issue: GitHub.