When running an Automation Process, we are getting the following error:
"Merge field name" not closed line:1, col:#"
"Expected "|" before filter, line:1, col:#"
Note: The # will be replaced by a number in your error message.
This may be caused by an incorrectly formatted merged field in a step of the Automation Process.
Check the merge field with the step that has failed and format it correctly.
Suggested formatting changes include:
- Ensure that there are two curly brackets at the beginning and end.
- Ensure there is a space after the opening curly brackets and before the closing curly brackets.
- Ensure you enter the Merge Field in the same case as the Custom Name.
- Remove any spaces.
- Remove any characters that are not a number, letter or underscore (_).
Once changes have been made, you will need to stop the process that has failed and rerun the automation.