MMTMMT Docs
Diagnostics

L014

alert payload field limit exceeded

L014

The alert's payload record declares more fields than an occurrence can carry. Split the alert or trim the payload record.

Failing example

script "conf"

type Wide {
  f01: float
  f02: float
  f03: float
  f04: float
  f05: float
  f06: float
  f07: float
  f08: float
  f09: float
  f10: float
  f11: float
  f12: float
  f13: float
  f14: float
  f15: float
  f16: float
  f17: float
}

alert wide = alert(payload: Wide, title: "Wide")

Corrected example

script "fixed"
type Small { price: float }
alert crossed = alert(payload: Small, title: "Crossed")

On this page