Personalization エラー personalization-errors

このページで: パーソナライゼーション式を使用してコンテンツを検証または公開する場合、または暗号化キーを作成する場合にAdobe Journey Optimizerが返すエラーの原因と修正を見つけます。

Personalization エラーでは、プレフィックス CJMTL (テンプレートレンダリング)と​CJMRT (ランタイム)の後に、エラー番号とHTTP ステータスが続きます。 その他のエラーコードのプレフィックスについては、​ エラーコードのリファレンス ​を参照してください。

手順を実行した後もエラーが解決しない場合は、エラーコード、メッセージ、リクエスト ID、および関連するキャンペーン、ジャーニー、またはアクティビティに注意し、ログまたはスクリーンショットを保持します。 次に、管理者にアクセス権またはアクセス権の問題について問い合わせるか、これらの詳細についてAdobe サポート ​にお問い合わせください。 すべてのサポートオプションについては、​ サポートを受けるを参照してください。

変数とパス variables

これらのエラーは、式が解決できないフィールド、変数、または名前空間を参照しているか、または間違った型を持っている場合に発生します。

検証メカニズム ​および使用可能な名前空間も参照してください。

エラーコード
メッセージ
解決方法
CJMTL-010001-422
{variable}が見つかりません
パーソナライゼーションエディターで、変数の名前とパスを確認し、スキーマで定義されたフィールドに置き換えます。 詳細情報
CJMRT-010001-422
パス {variable}が見つかりません
パーソナライゼーションエディターで、パスを確認し、スキーマで定義されたフィールドに置き換えます。 詳細情報
CJMRT-070003-422
実行コンテキストに変数{variable}が見つかりません。
パーソナライゼーションエディターで、変数の名前を確認し、スキーマのフィールドを使用します。 詳細情報
CJMRT-070008-422
パス {path}はサポートされていません
パーソナライゼーションエディターで、パスを確認し、スキーマのフィールドを使用します。 詳細情報
CJMTL-010008-422
{path}の名前空間が見つかりません
プロファイル、オーディエンス、オファー、コンテキスト属性のいずれかの使用可能な名前空間で式を開始します。 詳細情報
CJMTL-010002-422
変数{variable}のタイプが一致しません。 予期される型は{expectedType}ですが、{foundType}が見つかりました
メッセージに表示されるタイプの変数(ループ内の配列など)を使用します。 数値またはブール値が文字列として格納されている場合は、stringToNumber ()またはtoBool ()で変換します。 詳細情報
CJMRT-010002-422
変数{variable}のタイプが一致しません。 必要なのは{expectedType}です。 次が見つかりました:
メッセージに表示されるタイプの変数(ループ内の配列など)を使用します。 数値またはブール値が文字列として格納されている場合は、stringToNumber ()またはtoBool ()で変換します。 詳細情報
CJMRT-070007-422
変数{variable}は{expected}である必要があります。 {found}が見つかりました。
メッセージに表示されるタイプの変数を使用するか、文字列として格納されている場合はstringToNumber ()またはtoBool ()で値を変換します。 詳細情報
CJMRT-070002-422
変数{variable}は配列である必要があります。
変数を配列変数に置き換えるか、ループを削除します。 詳細情報
CJMTL-010013-422
変数名{variableName}が無効です
Let ヘルパーで定義されている変数の名前を変更します。名前は文字で始まり、文字と数字のみを使用します。 詳細情報
CJMTL-010014-422
変数名{variableName}が無効です。 変数名は文字で始まり、英数字のみを含める必要があります。
Let ヘルパーで定義されている変数の名前を変更します。名前は文字で始まり、文字と数字のみを使用します。 詳細情報
CJMRT-070001-422
{start}は範囲外です。 変数{variable} サイズは{length}です
メッセージに表示される変数のサイズよりも小さい開始位置を使用します。 詳細情報
CJMRT-070005-422
式は文字列値である必要があります。 が見つかりました:
二重引用符で囲まれた文字列値を入力するか、値を文字列に変換します。 詳細情報

ヘルパー helpers

これらのエラーは、ヘルパーが不明な場合、またはパラメーターが欠落している場合に呼び出されます。

​ ヘルパー関数も参照してください。

エラーコード
メッセージ
解決方法
CJMTL-010012-422
無効なヘルパー
ヘルパー名をヘルパーのリストに照らし合わせて確認し、修正します。 詳細情報
CJMTL-010003-422
ヘルパー{helper}の入力パラメーターが定義されていません
メッセージにという名前のヘルパーの入力パラメーターを追加します。 詳細情報
CJMTL-010009-422
ヘルパー{helper}のパラメーターが不十分です。 未定義の
メッセージにという名前の未定義パラメーターをヘルパーに追加します。 詳細情報
CJMRT-010003-422
ヘルパーのパラメーターが定義されていません:
メッセージにという名前のヘルパーのパラメーターを追加します。 詳細情報
CJMRT-070004-422
{helperName}の引数が不十分です。 引数{missingArgument}がありません
メッセージにという名前の欠落している引数をヘルパーに追加します。 詳細情報

構文とコンテンツの検証 syntax

これらのエラーは、構文エラーを含む式を持つコンテンツを検証または公開するときに発生します。

検証メカニズム ​も参照してください。

エラーコード
メッセージ
解決方法
CJMTL-010004-422
構文{reason}が無効です
メッセージ内の理由が示す括弧、引用符、ヘルパー構文を確認し、パーソナライゼーションエディターで「検証」をクリックします。 詳細情報
CJMTL-010011-422
構文{message}が無効です
括弧、引用符、およびメッセージがポイントするヘルパー構文を確認し、パーソナライゼーションエディターで「検証」をクリックします。 詳細情報
CJMTL-010015-422
無効な割り当て構文です。 式{expression}が無効です。
括弧と引用符を含む、メッセージ内で指定された割り当て式の構文を確認し、パーソナライゼーションエディターで「検証」をクリックします。 詳細情報
CJMRT-010004-422
無効なハンドルバー構文
メッセージ内の理由が示す括弧、引用符、ヘルパー構文を確認し、パーソナライゼーションエディターで「検証」をクリックします。 詳細情報
CJMRT-071011-400
構文エラーが見つかりました
パーソナライゼーションエディターで「検証」をクリックして構文エラーを見つけ、括弧、引用符、ヘルパー構文を確認します。 詳細情報
CJMRT-130001-400
{channel} バリアントのフィールド {fieldName}の形式が正しくありません
メッセージ内の名前のフィールドをバリアントのコンテンツで開き、その式を修正します。 詳細情報
CJMRT-130004-400
フィールド {fieldName}の{channel} バリアントの{variable}変数の形式が正しくありません:位置:
メッセージ内にという名前のフィールドを開き、表示されている位置で変数を修正します。 詳細情報
CJMRT-071012-404
{segmentId}のセグメント定義が見つかりません
式のオーディエンスを、現在のサンドボックスに存在するオーディエンスに置き換えます。 詳細情報
CJMRT-130003-422
プロファイルスキーマに、チャネル {channel}の必須フィールド {fieldName}が含まれていません
フィールドをプロファイルスキーマに追加するか、チャネル設定で別のフィールドを選択します。 詳細情報
CJMRT-000069-400
HTML コンテンツが無効です:
電子メールDesignerでコンテンツチェックを開き、検出されたHTMLの問題を修正します。 詳細情報
CJMTL-010019-422
テンプレートのレンダリングサイズの制限{limit} バイトを超えています。 更新して、もう一度試してください。
レンダリングされたメッセージがメッセージに表示される制限に達するまで、コンテンツまたは式によって挿入されたデータを減らします。 詳細情報

URL パラメーター暗号化キー encryption

これらのエラーは、暗号化キーを作成または使用してURL パラメーターを暗号化する場合に発生します。

トラッキングリンク 🔗のURL パラメーターの暗号化も参照してください。

エラーコード
メッセージ
解決方法
CJMRT-081601-400
キーは32 バイト (256 ビット)である必要がありますが、{actualBytes} バイトが指定されました。 キーを正しい長さに更新して、もう一度試してください。
32 バイト (256 ビット)のキーを生成し、base64でエンコードして、Key registry (管理 > 設定 > 管理)に再作成します。 詳細情報
CJMRT-081602-400
キーがbase64 エンコードされていません。 キーをbase64形式でエンコードして、もう一度試してください。
キー(256 ビット、32 バイト)をbase64でエンコードし、Key レジストリ​に再作成します。 詳細情報
CJMRT-081603-400
キー名には、文字、数字、ハイフンのみを含めることができます。 キー名を更新して、もう一度試してください。
文字、数字、ハイフンのみを使用してキーの名前を変更します。 詳細情報
CJMRT-070011-422
暗号化 / 署名キーを解決できません
暗号化ヘルパーで使用されているキーが存在し、現在のサンドボックスの​ キーレジストリ ​に​ アクティブ ​状態があることを確認します。 詳細情報
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: The page gives the cause and the fix for the personalization errors that Adobe Journey Optimizer returns when you validate or publish content with personalization expressions, or when you create an encryption key, grouped into four families: variables and paths, helpers, syntax and content validation, and URL parameter encryption keys.

Intents:

  • Know what to note and whom to contact when an error persists after the listed steps.

  • Identify an error from its code: the prefix (CJMTL or CJMRT), the error number, and the HTTP status.

  • Find why a field, a variable, a path, or a namespace in an expression is reported as not found, or as having the wrong type.

  • Fix an error on a helper that is not valid or that is called without enough parameters.

  • Fix a syntax error, a malformed field of a message variant, or an HTML content error found when you validate or publish content.

  • Fix an error returned when you create or use an encryption key to encrypt URL parameters.

Glossary:

  • CJMTL (product-specific): error code prefix for template rendering errors.
  • CJMRT (product-specific): error code prefix for runtime errors.
  • Error code: a prefix, followed by an error number and an HTTP status, for example CJMTL-010001-422.
  • Helper: named in an expression and called with parameters. The Let helper is used to define a variable.
  • Namespace: the page lists profile, audience, offers, and the contextual attributes as the available namespaces.

Guardrails:

  • An encryption key for URL parameters must be 256 bits (32 bytes) long and encoded in base64.
  • The name of an encryption key can contain only letters, numbers, and hyphens.
  • The name of a variable defined with the Let helper must start with a letter and can contain only alphanumeric characters (letters and numbers).
  • Template rendering has a size limit: when the rendered message is larger than the limit, error CJMTL-010019-422 is returned, and the message shows the limit in bytes.

Terminology:

  • Canonical name: Personalization errors
  • Do not confuse: CJMTL (template rendering) ≠ CJMRT (runtime). The same kind of problem can return a code with either prefix, for example a variable that is not found returns CJMTL-010001-422 or CJMRT-010001-422.

FAQ:

  • Q: What do I do if the error persists after the listed steps? — Note the error code, the message, the request ID, and the campaign, journey, or activity concerned, and keep the logs or screenshots. For a permission or access error, contact your administrator; otherwise contact Adobe Support with these details. For all the support options, see the Getting support section of the error codes reference.

  • Q: What do the prefixes CJMTL and CJMRT mean? — CJMTL is for template rendering and CJMRT is for runtime. The prefix is followed by an error number and an HTTP status.

  • Q: Why do I get “Path {variable} not found” or “{variable} not found”? — For CJMTL-010001-422 (“{variable} not found”) and CJMRT-010001-422 (“Path {variable} not found”), the variable or path named in the message is not found. In the personalization editor, check the name and path of the variable, and replace it with a field defined in the schema. CJMRT-070003-422 (variable not found in the execution context) and CJMRT-070008-422 (path not supported) have their own causes, listed under Troubleshooting.

  • Q: Why do I get a type mismatch? — For CJMTL-010002-422 and CJMRT-010002-422, use a variable of the type shown in the message, for example an array in a loop. If a numeric or boolean value is stored as a string, convert it with stringToNumber() or toBool(). For CJMRT-070007-422, use a variable of the type shown in the message, or convert the value with stringToNumber() or toBool() if it is stored as a string. For CJMRT-070002-422, the variable is expected to be an array: replace it with an array variable, or remove the loop.

  • Q: Why is the name of my Let variable rejected (CJMTL-010013-422, CJMTL-010014-422)? — The name is not valid. Start the name with a letter and use only letters and numbers.

  • Q: What do I do when I get “Syntax errors found” or “Invalid syntax”? — For CJMTL-010004-422, CJMTL-010011-422, and CJMRT-010004-422 (handlebars syntax), check the brackets, the quotes, and the helper syntax where the reason or the message points, then click Validate in the personalization editor. For CJMTL-010015-422, check the syntax of the assignment expression named in the message, including the brackets and the quotes, then click Validate. For CJMRT-071011-400 (“Syntax errors found”), click Validate in the personalization editor to find the syntax errors, then check the brackets, the quotes, and the helper syntax.

  • Q: Why is my encryption key refused? — The key must be 256 bits (32 bytes) long and encoded in base64 (CJMRT-081601-400, CJMRT-081602-400): generate a key of 32 bytes, encode it in base64, and create it again in the Key registry (Administration > Configurations > Manage). The key name can contain only letters, numbers, and hyphens (CJMRT-081603-400): rename the key.

  • Q: What does “Encryption / Signing keys could not be resolved” mean (CJMRT-070011-422)? — The encryption or signing keys could not be resolved. Check that the key used by the encryption helper exists and has the Active status in the Key registry of the current sandbox.

Troubleshooting:

  • Variables and paths: an expression refers to a field, a variable, or a namespace that cannot be resolved, or has the wrong type.

    • “{variable} not found” (CJMTL-010001-422) and “Path {variable} not found” (CJMRT-010001-422): the variable or path is not found. In the personalization editor, check the name and path of the variable, and replace it with a field defined in the schema.
    • “Variable {variable} not found in the execution context.” (CJMRT-070003-422): the variable is not found in the execution context. In the personalization editor, check the name of the variable, and use a field of the schema.
    • “Path {path} is not supported” (CJMRT-070008-422): the path is not supported. Check the path in the personalization editor, and use a field of the schema.
    • “Namespace not found for {path}” (CJMTL-010008-422): the namespace is not found. Start the expression with one of the available namespaces: profile, audience, offers, or the contextual attributes.
    • Type mismatch (CJMTL-010002-422, CJMRT-010002-422, CJMRT-070007-422): use a variable of the type shown in the message, for example an array in a loop. If a numeric or boolean value is stored as a string, convert it with stringToNumber() or toBool().
    • “Variable {variable} is expected to be an array.” (CJMRT-070002-422): the variable is expected to be an array. Replace it with an array variable, or remove the loop.
    • Invalid variable name (CJMTL-010013-422, CJMTL-010014-422): see the guardrail on Let variable names.
    • “{start} is out of bounds. Variable {variable} size is {length}” (CJMRT-070001-422): the start position is out of bounds. Use a start position smaller than the size of the variable shown in the message.
    • “The expression should be a String value. Found : {expression}” (CJMRT-070005-422): the expression must be a string value. Enter a string value surrounded by double quotes, or convert the value to a string.
  • Helpers: a helper is not known or is called with missing parameters.

    • “Invalid helper {command}” (CJMTL-010012-422): the helper is not valid. Check its name in the list of helpers.
    • “Input parameters not defined for helper {helper}” (CJMTL-010003-422) and “Params not defined for helper: {helper}” (CJMRT-010003-422): the helper is called without its parameters. Add the parameters of the helper.
    • “Insufficient parameters for helper {helper}. Undefined {param}” (CJMTL-010009-422): the helper has too few parameters. Add the undefined parameter named in the message.
    • “Insufficient arguments for {helperName}. Missing argument {missingArgument}” (CJMRT-070004-422): the helper has too few arguments. Add the missing argument named in the message.
  • Syntax and content validation: errors when you validate or publish content that has an expression with a syntax error.

    • Syntax error (CJMTL-010004-422, CJMTL-010011-422, CJMTL-010015-422, CJMRT-010004-422, CJMRT-071011-400): check the brackets, the quotes, and the helper syntax, then click Validate in the personalization editor (see the FAQ for the per-code fix).
    • “The field {fieldName} of {channel} variant is malformed” (CJMRT-130001-400): a field of the message variant is malformed. Open the field named in the message and fix its expression.
    • “The {variable} variable of the field {fieldName} of {channel} variant is malformed: Position: {position}” (CJMRT-130004-400): a variable of a field of the message variant is malformed. Open the field named in the message and fix the variable at the position shown.
    • “No segment definition found for {segmentId}” (CJMRT-071012-404): the audience (segment definition) used in the expression cannot be found. Replace the audience in the expression with one that exists in the current sandbox.
    • “Profile schema does not contain the required field: {fieldName} for channel: {channel}” (CJMRT-130003-422): the profile schema does not contain the field that the channel configuration needs. Add the field to the schema, or select another field in the channel configuration.
    • “The HTML content is not valid: {errorMessage}” (CJMRT-000069-400): open the content checks in the Email Designer, and fix the HTML issues they detect.
    • “The template rendering size limit of {limit} bytes is exceeded. Please update and try again.” (CJMTL-010019-422): the rendered message is larger than the size limit shown in the message. Reduce the content, or the data inserted by the expressions, until the rendered message is under the limit shown in the message.
  • URL parameter encryption keys: errors when you create or use an encryption key to encrypt URL parameters (CJMRT-081601-400, CJMRT-081602-400, CJMRT-081603-400, CJMRT-070011-422): see the guardrails and the FAQ.

Related pages:

  • Validation mechanisms for expressions: Validation mechanisms (personalization/personalization-build-expressions.md)
  • Available namespaces: Available namespaces (personalization/personalization-syntax.md)
  • Helper functions: Helper functions (personalization/functions/helpers.md)
  • Creating and managing encryption keys: Encrypt URL parameters in tracking links (personalization/url-parameter-encryption.md)
  • Other error code prefixes: Error codes reference (building-journeys/error-codes-reference.md)
  • Support options when an error persists: Getting support (building-journeys/error-codes-reference.md)
  • Contacting Adobe Support: Support ticket guidelines (start/user-interface.md)
recommendation-more-help
journey-optimizer-help