---
title: payloadTooLarge
framework: watchconnectivity
role: symbol
role_heading: Type Property
path: watchconnectivity/wcerror/payloadtoolarge
---

# payloadTooLarge

An error indicating an attempt to send an item that exceeds the maximum size limit.

## Declaration

```swift
static var payloadTooLarge: WCError.Code { get }
```

## Discussion

Discussion This error can occur for both data dictionaries and files.

## See Also

### Understanding Error Codes

- [genericError](watchconnectivity/wcerror/genericerror.md)
- [sessionNotSupported](watchconnectivity/wcerror/sessionnotsupported.md)
- [sessionMissingDelegate](watchconnectivity/wcerror/sessionmissingdelegate.md)
- [sessionNotActivated](watchconnectivity/wcerror/sessionnotactivated.md)
- [deviceNotPaired](watchconnectivity/wcerror/devicenotpaired.md)
- [watchAppNotInstalled](watchconnectivity/wcerror/watchappnotinstalled.md)
- [notReachable](watchconnectivity/wcerror/notreachable.md)
- [invalidParameter](watchconnectivity/wcerror/invalidparameter.md)
- [payloadUnsupportedTypes](watchconnectivity/wcerror/payloadunsupportedtypes.md)
- [messageReplyFailed](watchconnectivity/wcerror/messagereplyfailed.md)
- [messageReplyTimedOut](watchconnectivity/wcerror/messagereplytimedout.md)
- [fileAccessDenied](watchconnectivity/wcerror/fileaccessdenied.md)
- [deliveryFailed](watchconnectivity/wcerror/deliveryfailed.md)
- [insufficientSpace](watchconnectivity/wcerror/insufficientspace.md)
- [sessionInactive](watchconnectivity/wcerror/sessioninactive.md)
