The following has evaluated to null or missing: ==> attach.path [in template "json://{\"siteId\":\"0031\",\"category\":\"content\",\"tags\":\"pt\",\"name\":\"pt-xwzx-gj\"}_en_US" at line 117, column 46] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #if attach.path?ends_with(".doc") || ... [in template "json://{\"siteId\":\"0031\",\"category\":\"content\",\"tags\":\"pt\",\"name\":\"pt-xwzx-gj\"}_en_US" at line 117, column 41] ----