<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppIntentError/PermissionRequired",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A11IntentErrorV18PermissionRequiredO"
  },
  "title" : "AppIntentError.PermissionRequired"
}
-->

# AppIntentError.PermissionRequired

Errors that indicate the app doesn’t have the required permission
to perform an action.

```
enum PermissionRequired
```

## Overview

Use these permission errors to inform people that the app requires specific
permissions and that they need to grant permission to successfully
complete the action.

## Topics

### Type Properties

[`static let bluetooth: AppIntentError`](/documentation/AppIntents/AppIntentError/PermissionRequired/bluetooth)

The person needs to allow the app to access to Bluetooth.

[`static let contacts: AppIntentError`](/documentation/AppIntents/AppIntentError/PermissionRequired/contacts)

The person needs to allow the app to access contacts.

[`static let localNetwork: AppIntentError`](/documentation/AppIntents/AppIntentError/PermissionRequired/localNetwork)

The person needs to allow the app to access the local network.

[`static let photos: AppIntentError`](/documentation/AppIntents/AppIntentError/PermissionRequired/photos)

The person needs to allow the app to access to the photo library.

[`static let siri: AppIntentError`](/documentation/AppIntents/AppIntentError/PermissionRequired/siri)

The person needs to allow the app to access Siri.

### Type Methods

[`static func location(precise: Bool) -> AppIntentError`](/documentation/AppIntents/AppIntentError/PermissionRequired/location(precise:))

The person needs to allow the app to access their location.

---

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)