Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Archy not able to find existing resources

    Posted 09-08-2025 12:38

    I was trying to publish some new flows to an environment and have some digital bot flows that are complaining about missing flows. These flows are either present in the target environment (and referenced) or being added in the same cx as code run. Here is a snippet of the error:

    Error: flow publish failed. JobID: 523452d5-5927-4f1a-af9c-7b93acaf4b6d, tracing messages: session startup initialization for startWithAuthToken complete.  Caught unhandled exception waiting for callback function returned promise to resolve. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'[MASKED]', ArchSessionId:'gAySiy48h', OrgName:'sasktel-qa', OrgId:'5e1c5a63-2969-45a9-afd4-056a835c2084']
    ArchSession.startWithAuthToken  - Caught unhandled exception during callback function execution.  Ending session.  Exception info: - Method in 'ArchValueListPickerSectionCollection.setNoValue' is invalid.  Reason: ERROR! you cannot assign no value because this value [IsOutput:false, CanBeExpression:true, CanBeLiteral:true, CanBeNoValue:false, CanBeVariable:false, isReadable:true, isWritable:true] needs to have a value assigned to it. -- [TrackingID:36, Name:'Digital Menu', Type:'ArchActionDigitalMenu', Property:'Sections']. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'[MASKED]', ArchSessionId:'gAySiy48h', OrgName:'sasktel-qa', OrgId:'5e1c5a63-2969-45a9-afd4-056a835c2084']
    ending the Session.  Setting the exit code to 99. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'[MASKED]', ArchSessionId:'gAySiy48h', OrgName:'sasktel-qa', OrgId:'5e1c5a63-2969-45a9-afd4-056a835c2084']
    setting the Archy exit code to 99
    An error occurred.
    Architect Scripting session ended in error ( code: 99 )
    error(s) encountered.
    Architect Scripting errors will be listed above.
    exit code: 99
    {"resourceType":"genesyscloud_flow","method":"GET","path":"/api/v2/flows/jobs/523452d5-5927-4f1a-af9c-7b93acaf4b6d","statusCode":200,"correlationId":"565fda93-f09b-48a0-8beb-9d112f29b594"}
      with genesyscloud_flow.DIGITALBOT_Messaging_-_eCommerce_Chat_-_VA,
      on genesyscloud.tf line 411, in resource "genesyscloud_flow" "DIGITALBOT_Messaging_-_eCommerce_Chat_-_VA":
    411: resource "genesyscloud_flow" "DIGITALBOT_Messaging_-_eCommerce_Chat_-_VA" {
    Error: flow publish failed. JobID: 164d72f2-7bbd-44bf-876a-2b6024cb4fab, tracing messages: pre-processor substitution key of '{{target=\"_self\"}}' was found in the flow YAML, but was not found in the options file.
    pre-processor substitution key of '{{target=\"_self\"}}' was found in the flow YAML, but was not found in the options file.
    find 'flow name' by value of 'Messaging - Chat Authentication' - no matches for 'Messaging - Chat Authentication'. -- [ArchNetworkValueRetrieval]
    find 'flow name' by value of 'Messaging - Chat Authentication' - Failed to find item Messaging - Chat Authentication. -- [ArchNetworkValueRetrieval]
    find 'flow name' by value of 'Messaging - eCommerce Chat - VA' - no matches for 'Messaging - eCommerce Chat - VA'. -- [ArchNetworkValueRetrieval]
    find 'flow name' by value of 'Messaging - eCommerce Chat - VA' - Failed to find item Messaging - eCommerce Chat - VA. -- [ArchNetworkValueRetrieval]


    #Archy

    ------------------------------
    Kyle Callender
    ------------------------------


  • 2.  RE: Archy not able to find existing resources

    Posted 09-11-2025 16:02
    Edited by Jonathan Van Steen 09-11-2025 16:03

    Hi Kyle,

    There is a current bug with YAML export that has been fixed and is rolling out right now. It doesnt seem like its failing to look up flows, but instead is:
    Method in 'ArchValueListPickerSectionCollection.setNoValue' is invalid.  Reason: ERROR! you cannot assign no value because this value [IsOutput:false, CanBeExpression:true, CanBeLiteral:true, CanBeNoValue:false, CanBeVariable:false, isReadable:true, isWritable:true] needs to have a value assigned to it. 

    which is related to that yaml export issue.

    In the mean time, could you see if there are any instances of a `listPicker` configuration in your YAML file? If so, could you remove them and try re-publishing the flow again?

    Thanks,

    Jon



    ------------------------------
    Jonathan Van Steen
    Senior Software Engineer
    ------------------------------



  • 3.  RE: Archy not able to find existing resources

    Posted 09-12-2025 08:47

    @Kyle Callender can you try doing the export from terraform again? Looks like the new version has been deployed to CAC1 and I am curious if it resolves your issue. Thanks!



    ------------------------------
    Jonathan Van Steen
    Senior Software Engineer
    ------------------------------



  • 4.  RE: Archy not able to find existing resources

    Posted 09-14-2025 15:18

    Hi @Jonathan Van Steen, it seems that the deployment has worked. I was able to deploy the effected resources to QA from DEV. However, I ran into additional issues with the UAT deployment. which I am investigating to see if they are related but at first glance it seems to be different. Thanks for the update!



    ------------------------------
    Kyle Callender
    ------------------------------



  • 5.  RE: Archy not able to find existing resources

    Posted 09-15-2025 08:03

    Awesome! Thanks for the update @Kyle Callender. Let me know if theres anything else I can help you with!



    ------------------------------
    Jonathan Van Steen
    Senior Software Engineer
    ------------------------------