Allowed total length for message content variables is sum of key, value and JSON-specific characters' lengths.
Possible Causes
Either too many variables are defined (max 100 in total), or too long keys (max 16 characters per variable), or too long values (max 256 characters per variable).