<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeclaredAgeRange",
  "identifier" : "/documentation/DeclaredAgeRange/AgeRangeService/Error",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Declared Age Range"
    ],
    "preciseIdentifier" : "s:16DeclaredAgeRange0bC7ServiceV5ErrorO"
  },
  "title" : "AgeRangeService.Error"
}
-->

# AgeRangeService.Error

An error that occurs when an age range request fails.

```
enum Error
```

## Topics

### Interpreting error responses

[`AgeRangeService.Error.notAvailable`](/documentation/DeclaredAgeRange/AgeRangeService/Error/notAvailable)

Indicates the system was unable to share the person’s age range.

[`AgeRangeService.Error.invalidRequest`](/documentation/DeclaredAgeRange/AgeRangeService/Error/invalidRequest)

Indicates your request contains invalid parameters or configuration.



---

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)