---
title: WKExtendedRuntimeSessionErrorCode.notApprovedToSchedule
framework: watchkit
role: symbol
role_heading: Case
path: watchkit/wkextendedruntimesessionerrorcode/notapprovedtoschedule
---

# WKExtendedRuntimeSessionErrorCode.notApprovedToSchedule

The app attempted to schedule a session, but the session type does not support scheduling.

## Declaration

```swift
case notApprovedToSchedule
```

## Discussion

Discussion You can schedule alarm sessions by calling the session’s start(at:) method. For all other session types, use the start() method instead.

## See Also

### Error Codes

- [WKExtendedRuntimeSessionErrorCode.unknown](watchkit/wkextendedruntimesessionerrorcode/unknown.md)
- [WKExtendedRuntimeSessionErrorCode.scheduledTooFarInAdvance](watchkit/wkextendedruntimesessionerrorcode/scheduledtoofarinadvance.md)
- [WKExtendedRuntimeSessionErrorCode.mustBeActiveToStartOrSchedule](watchkit/wkextendedruntimesessionerrorcode/mustbeactivetostartorschedule.md)
- [WKExtendedRuntimeSessionErrorCode.notYetStarted](watchkit/wkextendedruntimesessionerrorcode/notyetstarted.md)
- [WKExtendedRuntimeSessionErrorCode.exceededResourceLimits](watchkit/wkextendedruntimesessionerrorcode/exceededresourcelimits.md)
- [WKExtendedRuntimeSessionErrorCode.barDisabled](watchkit/wkextendedruntimesessionerrorcode/bardisabled.md)
- [WKExtendedRuntimeSessionErrorCode.notApprovedToStartSession](watchkit/wkextendedruntimesessionerrorcode/notapprovedtostartsession.md)
