SDK errors

RevenueCat SDK error codes, explained

Every error the RevenueCat SDKs return, by code, with what causes it and how to fix it. The codes are the same whether the SDK talks to RevenueCat or to RevenueDot, because RevenueDot answers the same API.

CodeiOSAndroidWhat it means
0unknownErrorUnknownErrorUnknown error
1purchaseCancelledErrorPurchaseCancelledErrorPurchase cancelled
2storeProblemErrorStoreProblemErrorStore problem
3purchaseNotAllowedErrorPurchaseNotAllowedErrorPurchase not allowed
4purchaseInvalidErrorPurchaseInvalidErrorPurchase invalid
5productNotAvailableForPurchaseErrorProductNotAvailableForPurchaseErrorProduct not available for purchase
6productAlreadyPurchasedErrorProductAlreadyPurchasedErrorProduct already purchased
7receiptAlreadyInUseErrorReceiptAlreadyInUseErrorReceipt already in use
8invalidReceiptErrorInvalidReceiptErrorInvalid receipt
9missingReceiptFileErrorMissingReceiptFileErrorMissing receipt file
10networkErrorNetworkErrorNetwork error
11invalidCredentialsErrorInvalidCredentialsErrorInvalid credentials
12unexpectedBackendResponseErrorUnexpectedBackendResponseErrorUnexpected backend response
13receiptInUseByOtherSubscriberError—Receipt in use by another subscriber
14invalidAppUserIdErrorInvalidAppUserIdErrorInvalid app user ID
15operationAlreadyInProgressForProductErrorOperationAlreadyInProgressErrorOperation already in progress
16unknownBackendErrorUnknownBackendErrorUnknown backend error
17invalidAppleSubscriptionKeyErrorInvalidAppleSubscriptionKeyErrorInvalid Apple subscription key
18ineligibleErrorIneligibleErrorIneligible for the offer
19insufficientPermissionsErrorInsufficientPermissionsErrorInsufficient permissions
20paymentPendingErrorPaymentPendingErrorPayment pending
21invalidSubscriberAttributesErrorInvalidSubscriberAttributesErrorInvalid subscriber attributes
22logOutAnonymousUserErrorLogOutWithAnonymousUserErrorLog out with an anonymous user
23configurationErrorConfigurationErrorConfiguration error
24unsupportedErrorUnsupportedErrorUnsupported operation
25emptySubscriberAttributesEmptySubscriberAttributesErrorEmpty subscriber attributes
26productDiscountMissingIdentifierError—Product discount missing identifier
28productDiscountMissingSubscriptionGroupIdentifierError—Missing subscription group ID
29customerInfoErrorCustomerInfoErrorCustomer info error
30systemInfoError—System info error
31beginRefundRequestError—Begin refund request error
32productRequestTimedOut—Product request timed out
33apiEndpointBlockedError—API endpoint blocked
34invalidPromotionalOfferError—Invalid promotional offer
35offlineConnectionError—Offline connection
36featureNotAvailableInCustomEntitlementsComputationMode—Not available in custom entitlements mode
37signatureVerificationFailedSignatureVerificationErrorSignature verification failed
38featureNotSupportedWithStoreKit1—Feature not supported with StoreKit 1
39invalidWebPurchaseToken—Invalid web purchase token
40purchaseBelongsToOtherUser—Purchase belongs to another user
41expiredWebPurchaseToken—Expired web purchase token
42testStoreSimulatedPurchaseErrorTestStoreSimulatedPurchaseErrorTest Store simulated purchase error

Get started

Run subscriptions without the revenue share.

Start free on RevenueDot Cloud, free up to $10,000 a month in tracked revenue, or move an existing RevenueCat app with one line of code.

Already have an account? Sign in · Prefer your own servers? Self-host free