<!--
{
  "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/MessageTooLong",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "CarKey"
    ],
    "preciseIdentifier" : "s:6CarKey0aB9ErrorCodeO14MessageTooLongyA2CmF"
  },
  "title" : "CarKeyErrorCode.MessageTooLong"
}
-->

# CarKeyErrorCode.MessageTooLong

An error that indicates the command you sent was too long.

```
case MessageTooLong
```

## Discussion

Don’t send more than 65 kilobytes of data to the vehicle in one
request.

---

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)