Error codes that App Store Server API responses return.

Error codes

Enumeration Members

ACCOUNT_NOT_FOUND: 4040001

An error that indicates the App Store account wasn’t found.

AccountNotFoundError

ACCOUNT_NOT_FOUND_RETRYABLE: 4040002

An error response that indicates the App Store account wasn’t found, but you can try again.

AccountNotFoundRetryableError

APP_NOT_FOUND: 4040003

An error that indicates the app wasn’t found.

AppNotFoundError

APP_NOT_FOUND_RETRYABLE: 4040004

An error response that indicates the app wasn’t found, but you can try again.

AppNotFoundRetryableError

FAMILY_SHARED_SUBSCRIPTION_EXTENSION_INELIGIBLE: 4030007

An error that indicates a subscription isn't directly eligible for a renewal date extension because the user obtained it through Family Sharing.

FamilySharedSubscriptionExtensionIneligibleError

GENERAL_BAD_REQUEST: 4000000

An error that indicates an invalid request.

GeneralBadRequestError

GENERAL_INTERNAL: 5000000

An error that indicates a general internal error.

GeneralInternalError

GENERAL_INTERNAL_RETRYABLE: 5000001

An error response that indicates an unknown error occurred, but you can try again.

GeneralInternalRetryableError

INVALID_ACCOUNT_TENURE: 4000032

An error that indicates the value of the account tenure field is invalid.

InvalidAccountTenureError

INVALID_APP_ACCOUNT_TOKEN: 4000033

An error that indicates the value of the app account token field is invalid.

InvalidAppAccountTokenError

INVALID_APP_IDENTIFIER: 4000002

An error that indicates an invalid app identifier.

InvalidAppIdentifierError

INVALID_CONSUMPTION_STATUS: 4000034

An error that indicates the value of the consumption status field is invalid.

InvalidConsumptionStatusError

INVALID_CUSTOMER_CONSENTED: 4000035

An error that indicates the customer consented field is invalid or doesn’t indicate that the customer consented.

InvalidCustomerConsentedError

INVALID_DELIVERY_STATUS: 4000036

An error that indicates the value in the delivery status field is invalid.

InvalidDeliveryStatusError

INVALID_EMPTY_STOREFRONT_COUNTRY_CODE_LIST: 4000027

An error that indicates a required storefront country code is empty.

InvalidEmptyStorefrontCountryCodeListError

INVALID_END_DATE: 4000016

An error that indicates the end date is invalid.

InvalidEndDateError

INVALID_EXCLUDE_REVOKED: 4000025

An error that indicates the query parameter exclude-revoked is invalid.

InvalidExcludeRevokedError

INVALID_EXTEND_BY_DAYS: 4000009

An error that indicates an invalid extend-by-days value.

InvalidExtendByDaysError

INVALID_EXTEND_REASON_CODE: 4000010

An error that indicates an invalid reason code.

InvalidExtendReasonCodeError

INVALID_IN_APP_OWNERSHIP_TYPE: 4000026

An error that indicates an invalid in-app ownership type parameter.

InvalidInAppOwnershipTypeError

INVALID_LIFETIME_DOLLARS_PURCHASED: 4000037

An error that indicates the value in the lifetime dollars purchased field is invalid.

InvalidLifetimeDollarsPurchasedError

INVALID_LIFETIME_DOLLARS_REFUNDED: 4000038

An error that indicates the value in the lifetime dollars refunded field is invalid.

InvalidLifetimeDollarsRefundedError

INVALID_NOTIFICATION_TYPE: 4000018

An error that indicates the notification type or subtype is invalid.

InvalidNotificationTypeError

INVALID_ORIGINAL_TRANSACTION_ID: 4000008

An error that indicates an invalid original transaction identifier.

InvalidOriginalTransactionIdError

INVALID_PAGINATION_TOKEN: 4000014

An error that indicates the pagination token is invalid.

InvalidPaginationTokenError

INVALID_PLATFORM: 4000039

An error that indicates the value in the platform field is invalid.

InvalidPlatformError

INVALID_PLAY_TIME: 4000040

An error that indicates the value in the playtime field is invalid.

InvalidPlayTimeError

INVALID_PRODUCT_ID: 4000023

An error that indicates the product ID parameter is invalid.

InvalidProductIdError

INVALID_PRODUCT_TYPE: 4000022

An error that indicates an invalid product type parameter.

InvalidProductTypeError

INVALID_REQUEST_IDENTIFIER: 4000011

An error that indicates an invalid request identifier.

InvalidRequestIdentifierError

INVALID_REQUEST_REVISION: 4000005

An error that indicates an invalid request revision.

InvalidRequestRevisionError

INVALID_REVOKED: 4000030

An error that indicates the revoked parameter contains an invalid value.

InvalidRevokedError

INVALID_SAMPLE_CONTENT_PROVIDED: 4000041

An error that indicates the value in the sample content provided field is invalid.

InvalidSampleContentProvidedError

INVALID_SORT: 4000021

An error that indicates an invalid sort parameter.

InvalidSortError

INVALID_START_DATE: 4000015

An error that indicates the start date is invalid.

InvalidStartDateError

INVALID_STATUS: 4000031

An error that indicates the status parameter is invalid.

InvalidStatusError

INVALID_STOREFRONT_COUNTRY_CODE: 4000028

An error that indicates a storefront code is invalid.

InvalidStorefrontCountryCodeError

INVALID_SUBSCRIPTION_GROUP_IDENTIFIER: 4000024

An error that indicates an invalid subscription group identifier.

InvalidSubscriptionGroupIdentifierError

INVALID_TEST_NOTIFICATION_TOKEN: 4000020

An error that indicates the test notification token is invalid.

InvalidTestNotificationTokenError

INVALID_TRANSACTION_ID: 4000006

An error that indicates an invalid transaction identifier.

InvalidTransactionIdError

INVALID_TRANSACTION_NOT_CONSUMABLE: 4000043

An error that indicates the transaction identifier doesn’t represent a consumable in-app purchase.

InvalidTransactionNotConsumableError

INVALID_TRANSACTION_TYPE_NOT_SUPPORTED: 4000047

An error that indicates the transaction identifier represents an unsupported in-app purchase type.

InvalidTransactionTypeNotSupportedError

INVALID_USER_STATUS: 4000042

An error that indicates the value in the user status field is invalid.

InvalidUserStatusError

MULTIPLE_FILTERS_SUPPLIED: 4000019

An error that indicates the request is invalid because it has too many constraints applied.

MultipleFiltersSuppliedError

ORIGINAL_TRANSACTION_ID_NOT_FOUND: 4040005

An error that indicates an original transaction identifier wasn't found.

OriginalTransactionIdNotFoundError

ORIGINAL_TRANSACTION_ID_NOT_FOUND_RETRYABLE: 4040006

An error response that indicates the original transaction identifier wasn’t found, but you can try again.

OriginalTransactionIdNotFoundRetryableError

PAGINATION_TOKEN_EXPIRED: 4000017

An error that indicates the pagination token expired.

PaginationTokenExpiredError

RATE_LIMIT_EXCEEDED: 4290000

An error that indicates that the request exceeded the rate limit.

RateLimitExceededError

SERVER_NOTIFICATION_URL_NOT_FOUND: 4040007

An error that indicates that the App Store server couldn’t find a notifications URL for your app in this environment.

ServerNotificationUrlNotFoundError

START_DATE_AFTER_END_DATE: 4000013

An error that indicates that the end date precedes the start date, or the two dates are equal.

StartDateAfterEndDateError

START_DATE_TOO_FAR_IN_PAST: 4000012

An error that indicates that the start date is earlier than the earliest allowed date.

StartDateTooFarInPastError

STATUS_REQUEST_NOT_FOUND: 4040009

An error that indicates the server didn't find a subscription-renewal-date extension request for the request identifier and product identifier you provided.

StatusRequestNotFoundError

SUBSCRIPTION_EXTENSION_INELIGIBLE: 4030004

An error that indicates the subscription doesn't qualify for a renewal-date extension due to its subscription state.

SubscriptionExtensionIneligibleError

SUBSCRIPTION_MAX_EXTENSION: 4030005

An error that indicates the subscription doesn’t qualify for a renewal-date extension because it has already received the maximum extensions.

SubscriptionMaxExtensionError

TEST_NOTIFICATION_NOT_FOUND: 4040008

An error that indicates that the test notification token is expired or the test notification status isn’t available.

TestNotificationNotFoundError

TRANSACTION_ID_NOT_FOUND: 4040010

An error that indicates a transaction identifier wasn't found.

TransactionIdNotFoundError