---
title: CarKeyErrorCode.VehicleNotConnected
framework: CarKey
role: symbol
role_heading: Case
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 16.0+, macOS 13.3+, watchOS 9.0+]
path: carkey/carkeyerrorcode/vehiclenotconnected
---

# CarKeyErrorCode.VehicleNotConnected

An error that indicates the vehicle isn’t available to respond to the request.

## Declaration

```swift
case VehicleNotConnected
```

## Discussion

Discussion Make sure you are in range of the vehicle and that the isConnected property of the vehicle report is true.

## See Also

### Getting the Error Code

- [CarKeyErrorCode.AnotherRequestInProgress](carkey/carkeyerrorcode/anotherrequestinprogress.md)
- [CarKeyErrorCode.ClientInBackground](carkey/carkeyerrorcode/clientinbackground.md)
- [CarKeyErrorCode.EnduringRequestUsingEventMethod](carkey/carkeyerrorcode/enduringrequestusingeventmethod.md)
- [CarKeyErrorCode.FeatureNotSupported](carkey/carkeyerrorcode/featurenotsupported.md)
- [CarKeyErrorCode.FunctionUnknown](carkey/carkeyerrorcode/functionunknown.md)
- [CarKeyErrorCode.Internal](carkey/carkeyerrorcode/internal.md)
- [CarKeyErrorCode.MessageTooLong](carkey/carkeyerrorcode/messagetoolong.md)
- [CarKeyErrorCode.RequestNotInProgress](carkey/carkeyerrorcode/requestnotinprogress.md)
- [CarKeyErrorCode.RequestTimedOut](carkey/carkeyerrorcode/requesttimedout.md)
- [CarKeyErrorCode.SecurityViolation](carkey/carkeyerrorcode/securityviolation.md)
- [CarKeyErrorCode.SessionNotActive](carkey/carkeyerrorcode/sessionnotactive.md)
- [CarKeyErrorCode.VehicleNotFound](carkey/carkeyerrorcode/vehiclenotfound.md)
