<!--
{
  "availability" : [
    "iOS: 9.3.0 -",
    "iPadOS: 9.3.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchConnectivity",
  "identifier" : "/documentation/WatchConnectivity/WCError/Code/sessionInactive",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Watch Connectivity"
    ],
    "preciseIdentifier" : "c:@E@WCErrorCode@WCErrorCodeSessionInactive"
  },
  "title" : "WCError.Code.sessionInactive"
}
-->

# WCError.Code.sessionInactive

An error indicating that the session is inactive.

```
case sessionInactive
```

## Discussion

This error occurs when you try to send data using an inactive session.

---

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)