<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKError",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:SC11SKErrorCodeLeV"
  },
  "title" : "SKError"
}
-->

# SKError

StoreKit error descriptions, codes, and domains.

```
struct SKError
```

## Topics

### Error codes

[`SKError.Code`](/documentation/StoreKit/SKError/Code)

Error codes for StoreKit errors.

[`unknown`](/documentation/StoreKit/SKError/unknown)

Error code indicating that an unknown or unexpected error occurred.

[`clientInvalid`](/documentation/StoreKit/SKError/clientInvalid)

Error code indicating that the client is not allowed to perform the attempted action.

[`paymentCancelled`](/documentation/StoreKit/SKError/paymentCancelled)

Error code indicating that the user canceled a payment request.

[`paymentInvalid`](/documentation/StoreKit/SKError/paymentInvalid)

Error code indicating that one of the payment parameters was not recognized by the App Store.

[`paymentNotAllowed`](/documentation/StoreKit/SKError/paymentNotAllowed)

Error code indicating that the user is not allowed to authorize payments.

[`storeProductNotAvailable`](/documentation/StoreKit/SKError/storeProductNotAvailable)

Error code indicating that the requested product is not available in the store.

[`cloudServicePermissionDenied`](/documentation/StoreKit/SKError/cloudServicePermissionDenied)

Error code indicating that the user has not allowed access to Cloud service information.

[`cloudServiceNetworkConnectionFailed`](/documentation/StoreKit/SKError/cloudServiceNetworkConnectionFailed)

Error code indicating that the device could not connect to the network.

[`cloudServiceRevoked`](/documentation/StoreKit/SKError/cloudServiceRevoked)

Error code indicating that the user has revoked permission to use this cloud service.

[`privacyAcknowledgementRequired`](/documentation/StoreKit/SKError/privacyAcknowledgementRequired)

Error code indicating that the user has not yet acknowledged Apple’s privacy policy for Apple Music.

[`unauthorizedRequestData`](/documentation/StoreKit/SKError/unauthorizedRequestData)

Error code indicating that the app is attempting to use a property for which it does not have the required entitlement.

[`invalidOfferIdentifier`](/documentation/StoreKit/SKError/invalidOfferIdentifier)

Error code indicating that the offer identifier cannot be found or is not active.

[`invalidOfferPrice`](/documentation/StoreKit/SKError/invalidOfferPrice)

Error code indicating that the price you specified in App Store Connect is no longer valid.

[`invalidSignature`](/documentation/StoreKit/SKError/invalidSignature)

Error code indicating that the signature in a payment discount is not valid.

[`missingOfferParams`](/documentation/StoreKit/SKError/missingOfferParams)

Error code indicating that parameters are missing in a payment discount.

[`ineligibleForOffer`](/documentation/StoreKit/SKError/ineligibleForOffer)

An error code that indicates the user is ineligible for the subscription offer.

[`overlayCancelled`](/documentation/StoreKit/SKError/overlayCancelled)

An error code that indicates the cancellation of an overlay.

[`overlayInvalidConfiguration`](/documentation/StoreKit/SKError/overlayInvalidConfiguration)

An error code that indicates the overlay’s configuration is invalid.

[`overlayPresentedInBackgroundScene`](/documentation/StoreKit/SKError/overlayPresentedInBackgroundScene)

[`overlayTimeout`](/documentation/StoreKit/SKError/overlayTimeout)

An error code that indicates the timing out of an overlay.

[`unsupportedPlatform`](/documentation/StoreKit/SKError/unsupportedPlatform)

An error code that indicates the current platform doesn’t support overlays.

### Error domain

[`SKErrorDomain`](/documentation/StoreKit/SKErrorDomain)

The error domain name for StoreKit errors.

### Type Properties

[`errorDomain`](/documentation/StoreKit/SKError/errorDomain)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)