<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Messages",
  "identifier" : "/documentation/Messages/MSCriticalMessagingError/notAuthorized",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Messages"
    ],
    "preciseIdentifier" : "s:8Messages24MSCriticalMessagingErrorO13notAuthorizedyA2CmF"
  },
  "title" : "MSCriticalMessagingError.notAuthorized"
}
-->

# MSCriticalMessagingError.notAuthorized

The operation isn’t authorized.

```
case notAuthorized
```

## Discussion

The requested operation isn’t authorized; use
[`requestAuthorization(for:)`](/documentation/Messages/MSCriticalSMSMessenger/requestAuthorization(for:)) to request someone’s authorization
to be able to send background messages from this app.

---

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)