Zoho billing logo Help Docs
/

iOS SDK Troubleshooting

Use this reference to resolve iOS SDK errors. Errors marked with * require explicit handling in your app. For general error-handling guidance, see Handle SDK Errors in the Best Practices guide.


App Store Errors

Error CodeDescriptionResolution
appStorePaymentCancelled*The user cancelled the payment request.Allow the user to retry the purchase or restore flow.
appStorePaymentPendingPayment is pending additional approval.initiatePurchase
appStoreUnknownAn unknown App Store error occurred.initiatePurchase, restorePurchase
appStoreClientInvalidClient is not allowed to perform the action.initiatePurchase, restorePurchase
appStorePaymentInvalidPayment parameters are invalid.initiatePurchase, restorePurchase
appStorePaymentNotAllowedUser is not allowed to authorise payments.initiatePurchase, restorePurchase
appStoreProductNotAvailableProduct is not available in store.initiatePurchase, restorePurchase
appStoreCloudServicePermissionDeniedUser has denied cloud service permissions.initiatePurchase, restorePurchase
appStoreCloudServiceNetworkConnectionFailedDevice could not connect to network.initiatePurchase, restorePurchase
appStoreCloudServiceRevokedCloud service permission was revoked.initiatePurchase, restorePurchase
appStorePrivacyAcknowledgementRequiredApple Music privacy acknowledgement is pending.initiatePurchase, restorePurchase
appStoreUnauthorizedRequestDataApp is using a property without entitlement.initiatePurchase, restorePurchase
appStoreInvalidOfferIdentifierOffer identifier is invalid.initiatePurchase, restorePurchase
appStoreInvalidOfferPriceOffer price is no longer valid.initiatePurchase, restorePurchase
appStoreInvalidSignatureOffer signature is invalid.initiatePurchase, restorePurchase
appStoreMissingOfferParamsOffer parameters are missing.initiatePurchase, restorePurchase
appStoreTransactionUnverifiedTransaction could not be verified.initiatePurchase, restorePurchase

Zoho Billing Server Errors

Error CodeDescriptionResolution
zsServerUnknownUnknown error on Zoho Billing server.Show the error and prompt the user to contact support with ZSErrorCode details.
planInactiveInZSPlan is inactive in Zoho Billing.Activate the plan in Zoho Billing before allowing purchases.
purchaseAlreadyProcessed*Purchase is already synced to Zoho Billing.Use your backend to verify the active subscription and grant access accordingly.
invalidAPIKeyAPI key is invalid or revoked.Update your app with a valid API key.(Critical)
noValidPurchasesFoundNo valid purchases found in receipt.Ask the user to retry or restore a valid purchase.
appStoreConnectivityErrorZoho Billing could not connect to App Store server.Ask the user to retry after some time.

SDK Errors

Error CodeDescriptionResolution
receiptNotAvailableIn-app purchase receipt is unavailable.Retry the purchase flow or restore a valid receipt before granting access.
configurationMissingSDK initialisation configuration is incomplete.Initialise the SDK correctly before calling other methods.
noValidPurchasesFoundNo active purchases found.Show a user-friendly message and ask the user to restore a valid purchase or contact support.

For non-critical errors, show a user-friendly message and prompt users to contact your support team with the ZSErrorCode details (code and description).

Was this document helpful?
Yes
No

Thank you for your feedback!