Archy is failing to publish some bot flows with an error code of 99
The log contains this
- the content to import is 183240 characters. -- [Name:'My bot name (prod) (Managed by Archy)', Type:'ArchFlowBot', Id:'ec3ab953-0563-45a2-a65b-9a98c3f93a7f']
TRACE:[architect.BOT] failure during flow import
undefined
flowId: ec3ab953-0563-45a2-a65b-9a98c3f93a7f, flowType: BOT
The log ends with this
Summary
Command: 'publish'
Input YAML File: /home/circleci/project/flows/my-bot/flow.yaml
Flow Name: 'My bot name (prod) (Managed by Archy)'
SUCCESS! - the flow has no validation errors or warnings.
Architect Scripting session ended in error ( code: 99 )
error(s) encountered.
- Architect Scripting errors will be listed above.
Log: /home/circleci/project/archy-cli/debug/archy-debug-2022-03-02T16.08.55.334Z.txt
execution complete.
exit code: 99
This can be fixed (when not on prod) by deleting the bot and any web messenger flows that depend on it and then rerunning the command, but I can't delete the bot from prod because the current one will be in use.
This isn't a problem with all bot flows.
Many thanks for any input