Thank you!
I had no idea that I could test the data actions individually! I went ahead and tested but got an authentication error. I don't know if this error is from PureCloud itself or from Salesforce?
I have attached the screenshotted error.
Here is the output directly:
{
"status": 403,
"code": "not.authorized",
"message": "You are not authorized to perform the requested action.",
"messageParams": {},
"contextId": "e67234e1-d8c9-44eb-9bbc-8d3020370e44",
"details": [],
"errors": [
{
"status": 403,
"code": "NOT_AUTHORIZED",
"message": "REST call for action execute failed. Message:Request to backend service failed. Response from web service: [{\"message\":\"The users password has expired, you must call SetPassword before attempting any other API operations\",\"errorCode\":\"INVALID_OPERATION_WITH_EXPIRED_PASSWORD\"}] [e67234e1-d8c9-44eb-9bbc-8d3020370e44] [e67234e1-d8c9-44eb-9bbc-8d3020370e44]",
"messageParams": {},
"details": [],
"errors": []
}
]
}
------------------------------
Alex Meyer
Sonic Foundry, Inc.
------------------------------
Original Message:
Sent: 06-08-2018 13:53
From: Melissa Bailey
Subject: Inbound Call Flow not working properly.
Hi Alex,
Check to see if the response from the salesforce action is returning 0 or more than 1 result. Have you tried using the test function for the data action? https://help.mypurecloud.com/articles/test-data-actions-integrations/ I looked at one of the failures, the input looked like
"PHONE_NUMBER": "tel:+1608*******" (not posting some guy's phone number all over the internet)
------------------------------
Melissa Bailey
Genesys - Employees
------------------------------