We are finding we are unable to process YAML files with the most recent versions of Archy. The issue occurs with existing YAML files, and when creating a new one from a new essentially blank flow.
2.14.0 is the latest version that processes YAML successfully. All subsequent versions produce the following error.
Command: 'createImportFile'
the YAML file contained invalid characters. Please ensure the contents are valid YAML and are formatted correctly.
error(s) encountered.
Log file:
Downloading https://sdk-cdn.mypurecloud.com/archy/latest/archy-linux.zip...
Archy version 2.15.2
Installing module "powershell-yaml"...
[1 - Phone Bridge and Welcome] (1/1) Processing file "/builds/esolutions/service-desk/genesys-configuration/flows/inboundcall/1 - Phone Bridge and Welcome.yaml"...
[1 - Phone Bridge and Welcome] name: "1 - Phone Bridge and Welcome", type: "inboundCall", Git commit hash: 14efcc43599fed347413b7099936121f2323673d 2022-11-28 15:20:42 +1100
[1 - Phone Bridge and Welcome] checking for errors in the flow...
Architect Scripting running under Node version '14.18.3'
ArchSessionId:SkCdxpWvo
options yaml file path '/builds/esolutions/service-desk/genesys-configuration/.archy/config' resolved to '/builds/esolutions/service-desk/genesys-configuration/.archy/config'.
loading yaml from file path '/builds/esolutions/service-desk/genesys-configuration/.archy/config'.
setting the Archy exit code to 100
An error occurred.
Archy - Architect Yaml Flow Processor ver. 2.15.2 - Failure
DateTime: Mon Nov 28 2022 05:00:37 GMT+0000 (Coordinated Universal Time)
Summary
Command: 'createImportFile'
the YAML file contained invalid characters. Please ensure the contents are valid YAML and are formatted correctly.
error(s) encountered.
using '/builds/esolutions/service-desk/genesys-configuration' as the home directory since none was defined.
Log: /builds/esolutions/service-desk/genesys-configuration/debug/archy-debug-2022-11-28T05.00.37.404Z.txt
execution complete.
exit code: 100
WARNING: [1 - Phone Bridge and Welcome] (1/1) inboundCall "1 - Phone Bridge and Welcome" failed to run createImportFile. at /builds/esolutions/service-desk/genesys-configuration/build/run-archy.ps1:111
run-archy.ps1: line 101
run-archy.ps1: line 635
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1