Validate fails when message contains double byte in script expression
Trailblazer Community

Validate fails when message contains double byte in script expression

Marketing Cloud Journey Builder

Last updated 2019-09-12 ·Reference W-6069395 ·Reported By 0 users

No Fix

Summary
When replacing a content in an active Journey, message validation fails when content includes a script expression with double byte character.

Repro
1. Create a Journey with 1 email send activity.
2. Create a Data Extension with following fields

* Field 1
Name: SubKey
Type: Text
Length: 50
Primary Key

* Field 2
Name: 言語
Type: Text
Length: 50

* Field 3
Name: Email
Type: Email Address

3. Create a message with following AMPScript
~~~~~~~~~~~~~~~~~~~~
%%[
var @name
if 言語 == "Japanese"
then SET @name = "AAA"
else
then SET @name = "BBB"
endif
]%%
%%=V(@name)=%%
~~~~~~~~~~~~~~~~~~~~

4. Open Journey created in step 1 and replace email content with one created in step 3

Current Behavior
Error thrown with 'An error occurred when attempting to resolve a script expression.

Workaround
No Workaround except removing multi byte characters.

Reported By (0)

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.