---
title: SAError.Code.notAuthorized
framework: SafetyKit
role: symbol
role_heading: Case
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 16.0+, macOS 13.0+, watchOS 10.1+]
path: safetykit/saerror/code/notauthorized
---

# SAError.Code.notAuthorized

The app isn’t authorized to perform the requested operation.

## Declaration

```swift
case notAuthorized
```

## See Also

### Determining the error type

- [SAError.Code.invalidArgument](safetykit/saerror/code/invalidargument.md)
- [SAError.Code.notAllowed](safetykit/saerror/code/notallowed.md)
- [SAError.Code.operationFailed](safetykit/saerror/code/operationfailed.md)
