What does Play Billing ERROR (6) mean?
Play Billing ERROR (6) means a fatal error inside Google Play during the billing call.
Quick facts#
| Error | BillingClient.BillingResponseCode.ERROR (6) |
| Where | Google Play Billing Library (BillingResult.responseCode) |
| What the vendor says | A fatal error occurred during the API action. |
Cause#
- Google describes it as an internal Google Play error that may be transient or caused by an unexpected condition during processing.
- The code does not say which call or condition failed, so the debug message and your own logs are the only detail.
- It is not caused by your arguments (that is
DEVELOPER_ERROR) or by the network (that isNETWORK_ERROR).
Fix#
- Retry with exponential backoff for background work; use a simple retry when the person is waiting.
- Mind how long you retry during a user interaction, as Google advises.
- Log the response code, debug message and Play Store version so you can report a persistent case.
- Contact Google Play support if the error keeps coming back.
Example#
Kotlin
import com.android.billingclient.api.BillingClient
import com.android.billingclient.api.BillingResult
import kotlinx.coroutines.delay
// Google: ERROR may be transient, so back off and retry a few times, then give up and report it.
suspend fun acknowledgeWithRetry(acknowledge: suspend () -> BillingResult): BillingResult {
var wait = 2_000L
var result = acknowledge()
repeat(2) {
if (result.responseCode != BillingClient.BillingResponseCode.ERROR) return result
delay(wait)
wait *= 2
result = acknowledge()
}
return result
}Not compiled: this Kotlin snippet was not built here because the docs repo has no Kotlin or Android toolchain. Check it against your Play Billing Library or SDK version before you ship it.
How the RevenueDot SDK reports it#
The RevenueDot purchases-android fork maps ERROR to PurchasesErrorCode.StoreProblemError (code 2). See what storeProblemError means.
Related#
- What does Play Billing SERVICE_UNAVAILABLE (2) mean?
- What does Play Billing SERVICE_DISCONNECTED (-1) mean?
- What does storeProblemError (code 2) mean in the purchases SDK?
Source#
- Google: BillingResponseCode.ERROR
- Google: Handle BillingResult response codes
- RevenueDot purchases-android: google/errors.kt (how the SDK maps response codes)
Checked: 2026-10-03