<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.3.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarKey",
  "identifier" : "/documentation/CarKey/CarKeyErrorCode/SessionNotActive",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "CarKey"
    ],
    "preciseIdentifier" : "s:6CarKey0aB9ErrorCodeO16SessionNotActiveyA2CmF"
  },
  "title" : "CarKeyErrorCode.SessionNotActive"
}
-->

# CarKeyErrorCode.SessionNotActive

An error that indicates an active session is currently inactive.

```
case SessionNotActive
```

## Discussion

You must start a session before you attempt to retrieve information
about a vehicle or send commands or data to it. Similarly, you
cannot end a session that isn’t currently running.

---

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)