---
title: CardSession.Error.maxSessionDurationReached
framework: corenfc
role: symbol
role_heading: Case
path: corenfc/cardsession/error/maxsessiondurationreached
---

# CardSession.Error.maxSessionDurationReached

The session is no longer valid because it reached its maximum duration.

## Declaration

```swift
case maxSessionDurationReached
```

## Discussion

Discussion If you reach the emulation session’s maximum duration, you can reset with stopEmulation(status:). However, the API enforces a “cool down” period, and restarting emulation too quickly can produce a CardSession.Error.systemNotAvailable error. If this happens, wait before attempting another call to startEmulation().

## See Also

### Card session errors

- [CardSession.Error.invalidated](corenfc/cardsession/error/invalidated.md)
- [CardSession.Error.userInvalidated](corenfc/cardsession/error/userinvalidated.md)
- [CardSession.Error.transmissionError](corenfc/cardsession/error/transmissionerror.md)
- [CardSession.Error.systemNotAvailable](corenfc/cardsession/error/systemnotavailable.md)
- [CardSession.Error.accessNotAccepted](corenfc/cardsession/error/accessnotaccepted.md)
- [CardSession.Error.systemEligibilityFailed](corenfc/cardsession/error/systemeligibilityfailed.md)
- [CardSession.Error.emulationStopped](corenfc/cardsession/error/emulationstopped.md)
- [CardSession.Error.radioDisabled](corenfc/cardsession/error/radiodisabled.md)
