<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreNFC",
  "identifier" : "/documentation/CoreNFC/CardSession/Error/maxSessionDurationReached",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Core NFC"
    ],
    "preciseIdentifier" : "s:7CoreNFC11CardSessionC5ErrorO03maxD15DurationReachedyA2EmF"
  },
  "title" : "CardSession.Error.maxSessionDurationReached"
}
-->

# CardSession.Error.maxSessionDurationReached

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

```
case maxSessionDurationReached
```

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)