@Martin Kallukalam Thanks for reaching out. While the policy saves successfully, the warning indicates that the syntax is not fully compliant with the expected format for dynamic expressions.
To avoid the warning, you should use the correct syntax with the expression enclosed in parentheses, as shown in the corrected policy:
<set-body>@(new JObject(new JProperty("QueryString", "123"), new JProperty("param1", "4567")).ToString())</set-body>
This ensures that the expression is properly evaluated and avoids any potential issues during runtime.
do try and let me know incase of further queries, I would be happy to assist you.