Legacy Dev Forum Posts

 View Only

Sign Up

Exception info: the YAML property '?' is not valid. YAML

  • 1.  Exception info: the YAML property '?' is not valid. YAML

    Posted 06-05-2025 19:01

    saravana.n.kumar | 2022-08-10 00:39:16 UTC | #1

    Archy tool unable to push the Inbound Call Flow in to the same Org and Another Org . we are getting error saying Exception info: the YAML property '?' is not valid. YAML:

    The flow was developed via Architect in Console in Dev Org and then we tried to push the yaml file to test org we got above mentioned error. Then tried to push to the same Dev Org via Archy then also we got same Error.

    Later we tried to import the same yaml file in to test org it was successfully deployed.

    But we want to achieve through Arch and we are not sure about this Error. Please note there is no Error / Validation issue in the flow + we validated with YAML editor as well.

    ERROR! ArchActionCallData.setIntegrationActionByIdAsync - Caught unhandled exception during callback function execution. Ending session. Exception info: the YAML property '?' is not valid. YAML:

    Debug Output

    ERROR! ArchActionCallData.setIntegrationActionByIdAsync - Caught unhandled exception during callback function execution. Ending session. Exception info: the YAML property '?' is not valid. YAML: errorCode: noValue: true status: noValue: true correlationId: noValue: true entityId: noValue: true entityName: noValue: true userMessage: noValue: true userParamsMessage: noValue: true userParams.key: noValue: true userParams.value: noValue: true details.errorCode: noValue: true details.fieldName: noValue: true details.entityId: noValue: true details.entityName: noValue: true


    2022-08-09T22:26:07.076Z: ***************************** 2022-08-09T22:26:07.076Z: Archy - Architect Yaml Flow Processor ver. 2.10.0 - Failure 2022-08-09T22:26:07.077Z: ***************************** 2022-08-09T22:26:07.077Z: DateTime: Tue Aug 09 2022 18:26:07 GMT-0400 (Eastern Daylight Time) 2022-08-09T22:26:07.077Z: 2022-08-09T22:26:07.077Z: Summary 2022-08-09T22:26:07.077Z: 2022-08-09T22:26:07.077Z: Command: 'publish' 2022-08-09T22:26:07.090Z: the YAML property '?' is not valid. YAML: errorCode: noValue: true status: noValue: true correlationId: noValue: true entityId: noValue: true entityName: noValue: true userMessage: noValue: true userParamsMessage: noValue: true userParams.key: noValue: true userParams.value: noValue: true details.errorCode: noValue: true details.fieldName: noValue: true details.entityId: noValue: true details.entityName: noValue: true

    2022-08-09T22:26:07.090Z: 2022-08-09T22:26:07.090Z: Error(s) and warning(s) encountered. 2022-08-09T22:26:07.090Z: - Architect Scripting errors and warnings will be listed above. 2022-08-09T22:26:07.090Z: 2022-08-09T22:26:07.090Z: Log: C:\Users\Saravanakumar.Sakthi\Desktop\Archy-TestBuild-FlowProcess\Archy-Flow-push-TestOrg\archy-win\archyHome\debug\archy-debug-2022-08-09T22.25.34.086Z.txt 2022-08-09T22:26:07.097Z: - session startup initialization for startWithClientIdAndSecret complete. Callback function returned promise successfully resolved. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'ca-central-1', ArchSessionId:'HJIJ1PxC9', OrgName:'Rogers Test', OrgId:'6310b32b-8915-4a36-a64f-842b0be3cac9'] 2022-08-09T22:26:07.098Z: - Method in 'ArchSession.end'. WARNING! the end method is being called and the session status already ended. Exiting end call. -- [ArchSession, Environment:'prod', Host:'apps.cac1.pure.cloud', Region:'ca-central-1', ArchSessionId:'HJIJ1PxC9', OrgName:'Rogers Test', OrgId:'6310b32b-8915-4a36-a64f-842b0be3cac9'] 2022-08-09T22:26:07.533Z: 2022-08-09T22:26:07.533Z: execution complete. 2022-08-09T22:26:07.534Z: 2022-08-09T22:26:07.534Z: exit code: 100 2022-08-09T22:26:07.534Z:


    jon.vansteen | 2022-08-11 14:39:22 UTC | #2

    Hi saravana.n.kumar, Would you be able to send me the flow yaml file you are using to create the flow in a direct/personal message so that I could take a look?

    Thanks, Jon


    saravana.n.kumar | 2022-08-11 15:23:58 UTC | #3

    Hi Jon thanks for your response. I have resolved the issue with Archy now, However I need get clarified how the below was came into yaml file since I could not find any reference inside the flow I removed the following from the YAML File and it got worked via Archy tool

    errorCode: noValue: true status: noValue: true correlationId: noValue: true entityId: noValue: true entityName: noValue: true userMessage: noValue: true userParamsMessage: noValue: true userParams.key: noValue: true userParams.value: noValue: true details.errorCode: noValue: true details.fieldName: noValue: true details.entityId: noValue: true details.entityName: noValue: true

    I will share flow yaml via email can you share via email id please.


    jon.vansteen | 2022-08-11 19:36:41 UTC | #4

    Hi saravana.n.kumar,

    If you go to my user profile you should see a message button like this

    You should be able to attach the YAML file using this upload button

    and send it to me that way. Or if you want you could also just copy and paste the YAML directly into the message as well. I'll be able to better answer your other question after taking a look at the YAML file.

    Thanks, Jon


    saravana.n.kumar | 2022-08-11 23:26:40 UTC | #5

    Hi I shared the flow hope you received, let me know why this error came in Archy but not import ?


    jon.vansteen | 2022-08-15 11:52:53 UTC | #6

    Thanks for sending the flow to me saravana.n.kumar, I'll take a look at this today and get back to you.

    -Jon


    jon.vansteen | 2022-08-15 17:29:59 UTC | #7

    Hi saravana.n.kumar,

    It looks like the issue is that the YAML has that failureOutputs property in the YAML that isn't available within an Inbound Call flow. When creating this flow in the Architect UI, do you happen to know if the Call Data action was copied and pasted from a different flow type such as an Inbound Message flow? I found a bug where if you copy and paste the Call Data action from a flow type that supports failureOutputs (such as an Inbound Message flow) and paste it into a flow type that does not (such as an Inbound Call flow) it incorrectly exports those properties when exporting to YAML. I also will work on some better handling in such a scenario from Archy where it will process the failureOutputs property better in a flow type that does not support the failureOutputs.

    Thanks, Jon


    saravana.n.kumar | 2022-08-15 17:43:38 UTC | #8

    Thank you Jon for the detailed clarification , yes i removed the failure Outputs and process for now and all worked fine. Yes they copied some call data actions from other flows now it is clear for us. thank you.


    saravana.n.kumar | 2022-08-16 23:48:19 UTC | #9

    Hi Jon. I have another one error from Archy where us this time quite different i have fixed but want to know is there any Bug in Archy or not. A common Module Flow troughing error

    • ERROR! Validation Summary

    [Type:'ArchValidationIssue', ErrorCount:1, ArchObject:[TrackingID:20, Name:'Collect Input - English or French?', Type:'ArchActionCollectInput']]

    Invalid value for Input Audio (Main Sequence)

    [Type:'ArchValidationIssue', RollupErrorCount:1, ArchObject:[TrackingID:10, Name:'Common Module Task', Type:'ArchTask']]

    There is one action in error within this task

      • Validation Summary Done -- [Name:'Common Up Front Language Prompter - Voice', Type:'ArchFlowCommonModule']

    setting the Archy exit code to 123


    Validation Results


    1 -> [Type:'ArchValidationIssue', ErrorCount:1, ArchObject:[TrackingID:20, Name:'Collect Input - English or French?', Type:'ArchActionCollectInput']]

    Invalid value for Input Audio (Main Sequence)


    Yaml Info _

    ref path: /commonModule/startUpTaskActions/actions/collectInput[?]

    2 -> [Type:'ArchValidationIssue', RollupErrorCount:1, ArchObject:[TrackingID:10, Name:'Common Module Task', Type:'ArchTask']]

    There is one action in error within this task

    After removing the Input audio section inside the collect input i can able to run the Archy Publish and then adding back the input selection is working fine. attached the yaml flow


    jon.vansteen | 2022-08-17 12:11:45 UTC | #10

    Hi saravana.n.kumar,

    I'll take a look at this today and let you know what I find. Thanks for reporting!

    Jon


    jon.vansteen | 2022-08-18 13:08:58 UTC | #11

    saravana.n.kumar,

    Just as a heads up, the issue with exporting a Call Data action and getting failure outputs in your YAML if the action was copy/pasted from a flow type that supports is now available in the Architect UI. Also, I'm still looking into the other issue and will let you know when I have more info!

    Thanks, Jon


    system | 2022-09-17 13:09:25 UTC | #12

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 15834