---
title: dataInaccessible
framework: sensorkit
role: symbol
role_heading: Type Property
path: sensorkit/srerror/datainaccessible
---

# dataInaccessible

Occurs when the app can’t access the sensor’s data.

## Declaration

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

## See Also

### Identifying an Error Cause

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