<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceActivity",
  "identifier" : "/documentation/DeviceActivity/DeviceActivityData/Error/unauthorized",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Device Activity"
    ],
    "preciseIdentifier" : "s:14DeviceActivity0aB4DataV5ErrorO12unauthorizedyA2EmF"
  },
  "title" : "DeviceActivityData.Error.unauthorized"
}
-->

# DeviceActivityData.Error.unauthorized

An error indicating the app isn’t authorized to provide parental controls and access data.

```
case unauthorized
```

## Discussion

See <doc://com.apple.documentation/documentation/FamilyControls/AuthorizationCenter> for more details.

---

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)