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
------------------------------
Original Message:
Sent: 12-23-2022 05:04
From: Shenbagamoorthy B
Subject: How to get the data action execute error message using third party web services data integration
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
Original Message:
Sent: 12-22-2022 09:38
From: Alberto Sagredo
Subject: How to get the data action execute error message using third party web services data integration
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
Original Message:
Sent: 12-22-2022 09:06
From: Shenbagamoorthy B
Subject: How to get the data action execute error message using third party web services data integration
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
------------------------------