Decisioning offer in code base | Community
Skip to main content
Michael_Soprano
Level 10
July 9, 2026
Question

Decisioning offer in code base

  • July 9, 2026
  • 1 reply
  • 12 views

Could somebody tell me what is wrong with this syntax? This is decisioning in code base channel. 

I did what is said in the documentation and it did not work. I asked support and they are working on this for two weeks and this still does not work 😍😍

When I render this on the webpage there is fatal error

Any ideas??

 

 

[ {{#each decisionPolicy.7bd5011b-b607-4ce2-9d49-234e6a0c1c16.items as |item|}} {"offerDescription": "{{{item._orlen.Vitay.OpisOferty}}}"}{{#unless @last}},{{/unless}} {{else}} {"offerDescription":null}

{{/each}} ]

1 reply

Pulkit_Jain_
Adobe Employee
Adobe Employee
July 10, 2026

@Michael_Soprano 

Noticed similar issue previously for other customers, with AJO Handlebars, identifiers that start with a number can break rendering at runtime, even if the editor validation passes so can you reference it using lookup:

[
{{#each (lookup decisionPolicy "7bd5011b-b607-4ce2-9d49-234e6a0c1c16").items as |item|}}
{
"offerDescription": "{{{item._orlen.Vitay.OpisOferty}}}"
}{{#unless @last}},{{/unless}}
{{else}}
{
"offerDescription": null
}
{{/each}}
]

If it still fails after this change, the next thing I would check is whether item._orlen.Vitay.OpisOferty ever returns raw quotes/newlines that break JSON rendering.