Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  How to get the data action execute error message using third party web services data integration

    Posted 12-22-2022 09:07
    No replies, thread closed.
    Hello Everyone,

    I am using data action for getting some data from a third party API. If the request succeeds then we will be able to get the success template. Other than how can we get the Exact Error Response into the Data Action Failure Block?. Please help on this for getting exact error into IVR Flow for reporting purpose.
    #ArchitectureandDesign
    #Implementation
    #API/Integrations
    #Routing(ACD/IVR)
    #Community Videos (TAM, QA, etc.)

    ------------------------------
    Shenbagamoorthy B
    Pointel
    ------------------------------


  • 2.  RE: How to get the data action execute error message using third party web services data integration
    Best Answer

    Posted 12-22-2022 09:38
    No replies, thread closed.
    Hi Shenbagamoorthy

    In order to get logs in Architect you need to open a case in Support

    Try to repeat the test you want to make, locate interaction and pass this information so we can help you

    Also you can try the following:

    "Add variables to the Failure Outputs section of your data action. In the Failure path, add a Set Participant Data action and write out the values of the failure variables. Later to debug a call, use the api to fetch the conversation using the /conversations/id endpoint. The failure values will be in an attributes section one of of the participants"

    Regards

    ------------------------------
    Alberto Sagredo
    Sr Technical Account Manager EMEA
    Genesys - Employees
    ------------------------------



  • 3.  RE: How to get the data action execute error message using third party web services data integration

    Posted 12-22-2022 11:01
    No replies, thread closed.
    You can also view the values of the Participant Data in the Interaction Details view under Performance. Saves you having to crank up the Developer Tools to call the API ;-)

    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 4.  RE: How to get the data action execute error message using third party web services data integration

    Posted 12-23-2022 05:04
    No replies, thread closed.
    Thank you so much Alberto Sagredo. I have already implemented like that but my requirement is getting the exact error message during data action execution time. I think now its not possible in Genesys Cloud.

    ------------------------------
    Shenbagamoorthy B
    Pointel
    ------------------------------



  • 5.  RE: How to get the data action execute error message using third party web services data integration

    Posted 12-23-2022 09:27
    No replies, thread closed.
    Often an API call will return an error message in the data payload of the response when giving an error (say, permissions error.)

    You could design your Data Action to catch those as well and, if they exist, put them into Participant Data (as @Alberto Sagredo suggests) for later analysis.

    Just a thought....​​

    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------