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

# InvalidCustomerConsentedError

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

```
object InvalidCustomerConsentedError
```

## Discussion

If the `customerConsented` field in [`ConsumptionRequest`](/documentation/AppStoreServerAPI/ConsumptionRequest) or [`ConsumptionRequestV1`](/documentation/AppStoreServerAPI/ConsumptionRequestV1) is any value other than `true`, the App Store server rejects the request. For more information, see [`customerConsented`](/documentation/AppStoreServerAPI/customerConsented).

---

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)