---
title: noAuthorization
framework: sensorkit
role: symbol
role_heading: Type Property
path: sensorkit/srerror/noauthorization
---

# noAuthorization

Occurs when the user declines sensor access in the Settings app.

## Declaration

```swift
static var noAuthorization: SRError.Code { get }
```

## See Also

### Identifying an Error Cause

- [promptDeclined](sensorkit/srerror/promptdeclined.md)
- [dataInaccessible](sensorkit/srerror/datainaccessible.md)
- [fetchRequestInvalid](sensorkit/srerror/fetchrequestinvalid.md)
- [invalidEntitlement](sensorkit/srerror/invalidentitlement.md)
