<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UserNotifications",
  "identifier" : "/documentation/UserNotifications/UNError/Code/notificationsNotAllowed",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:@E@UNErrorCode@UNErrorCodeNotificationsNotAllowed"
  },
  "title" : "UNError.Code.notificationsNotAllowed"
}
-->

# UNError.Code.notificationsNotAllowed

Notifications aren’t allowed.

```
case notificationsNotAllowed
```

## Discussion

This error occurs when you try to submit a notification request and your app or app extension isn’t authorized to schedule notifications.

---

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)