---
title: HMError.Code.invalidMessageSize
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmerror/code/invalidmessagesize
---

# HMError.Code.invalidMessageSize

An error indicating an invalid message size.

## Declaration

```swift
case invalidMessageSize
```

## See Also

### Limit errors

- [HMError.Code.cannotActivateTriggerTooFarInFuture](homekit/hmerror/code/cannotactivatetriggertoofarinfuture.md)
- [HMError.Code.dateMustBeOnSpecifiedBoundaries](homekit/hmerror/code/datemustbeonspecifiedboundaries.md)
- [HMError.Code.fireDateInPast](homekit/hmerror/code/firedateinpast.md)
- [HMError.Code.maximumObjectLimitReached](homekit/hmerror/code/maximumobjectlimitreached.md)
- [HMError.Code.recurrenceTooLarge](homekit/hmerror/code/recurrencetoolarge.md)
- [HMError.Code.recurrenceTooSmall](homekit/hmerror/code/recurrencetoosmall.md)
- [HMError.Code.recurrenceMustBeOnSpecifiedBoundaries](homekit/hmerror/code/recurrencemustbeonspecifiedboundaries.md)
