---
title: errSecInvalidScope
framework: security
role: symbol
role_heading: Global Variable
path: security/errsecinvalidscope
---

# errSecInvalidScope

An invalid scope was detected.

## Declaration

```swift
var errSecInvalidScope: OSStatus { get }
```
