---
title: AgeRangeService.Error.invalidAccount
framework: Declared Age Range
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+]
path: declaredagerange/agerangeservice/error/invalidaccount
---

# AgeRangeService.Error.invalidAccount

Indicates the current Apple Account isn’t eligible for age range sharing.

## Declaration

```swift
case invalidAccount
```

## Discussion

Discussion You receive this error when no Apple Account is signed in on the device, or when the signed-in account, such as a managed or enterprise account, isn’t eligible to share an age range.
