Loading

GroupConnect LINE Message Rendering Issue When Using “%” Character in AMPscript Variable Values

Date de publication: Nov 21, 2025
Description

In a Journey Builder activity that sends LINE messages, if the message content has an AMPscript variable (for example, @MessageName) may fail to render correctly when its value contains a percent character (%).

Example:
SET @MessageName = "OS_LINE_Cabin_35%"

Observed Result:
The LINE message displays the AMPscript code as plain text, rather than the rendered output.

Expected Result:
The message should render normally and not expose AMPscript to the end user.

A similar AMPscript assignment without the percent character—for example:

SET @MessageName = "OS_LINE_Cabin_35"

renders correctly and does not display AMPscript to the end user.


Root Cause
The percent (%) character is not supported in the LINE Messaging API payload.
When a value containing % is included in the message request, LINE treats it as Unsupported Media Type and as a result AMPscript fails to evaluate, causing the raw AMPscript block to appear in the delivered LINE message.
Because the downstream LINE API rejects the payload, the message content does not render as intended.








Résolution
  • Avoid using the percentage character (%) within AMPscript variable values to prevent rendering issues in LINE messages. 
  • If dynamic content requires a percentage value, consider reformatting it (e.g., “35 percent” or “35pct”) before sending to LINE.

Numéro d’article de la base de connaissances

005229035

 
Chargement
Salesforce Help | Article