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

# InvalidExtendReasonCodeError

An error that indicates an invalid reason code.

```
object InvalidExtendReasonCodeError
```

## Discussion

This error applies to the [`extendReasonCode`](/documentation/AppStoreServerAPI/extendReasonCode) you provide in the [`Extend a Subscription Renewal Date`](/documentation/AppStoreServerAPI/Extend-a-Subscription-Renewal-Date) and [`Extend Subscription Renewal Dates for All Active Subscribers`](/documentation/AppStoreServerAPI/Extend-Subscription-Renewal-Dates-for-All-Active-Subscribers) endpoints.

---

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)