<!--
{
  "availability" : [
    "App Store Server API: 1.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppStoreServerAPI",
  "identifier" : "/documentation/AppStoreServerAPI/InvalidStorefrontCountryCodeError",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "App Store Server API"
    ],
    "preciseIdentifier" : "data:app_store_server_api:InvalidStorefrontCountryCodeError"
  },
  "title" : "InvalidStorefrontCountryCodeError"
}
-->

# InvalidStorefrontCountryCodeError

An error that indicates a storefront code is invalid.

```
object InvalidStorefrontCountryCodeError
```

## Discussion

This error applies to the [`storefrontCountryCodes`](/documentation/AppStoreServerAPI/storefrontCountryCodes) list you provide in the [`MassExtendRenewalDateRequest`](/documentation/AppStoreServerAPI/MassExtendRenewalDateRequest) object for the [`Extend Subscription Renewal Dates for All Active Subscribers`](/documentation/AppStoreServerAPI/Extend-Subscription-Renewal-Dates-for-All-Active-Subscribers) endpoint.

---

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)