---
title: SAError.Code.notAllowed
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/notallowed
---

# SAError.Code.notAllowed

The system restricts the feature on this iPhone at the current time.

## Declaration

```swift
case notAllowed
```

## See Also

### Determining the error type

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