LINE Messaging API / Flex Message

The Flex failures
types cannot catch

Your types compile and LINE still returns 400. And there are two kinds of failure: one you notice immediately, and one you never notice at all. Paste your own JSON, or pick an example below.

What you are about to send —
Result —
—
looksLikeFlex —

error — LINE will not accept it

The send itself fails and 400 comes back. There is no option of leaving it alone. A property not in the specification, a missing required one, over 10KB or 50KB, or an action's data past 300 characters.

warning — it sends

LINE accepts it and the delivery count goes up. It is just that on the recipient's screen the text has dissolved into the background, or the image slot is blank. No error comes back, and nothing reaches a log. The only sign of it is the absence of a reply, so running it in production will not tell you either.