I am following the document "How to use the User Defined (OAuth) credential type" to create a data action, which is trying to send a request to serviceNow with oAuth. I referred the serviceNow doc here. I tested the serviceNow api with postman, which works fine. But whatever I have tried in Genesys Cloud Integration Data Action, I keep getting the following errors
{
"message": "There was an issue validating the credentials.",
"code": "invalid.credentials",
"status": 400,
"entityName": "basicAuth",
"messageParams": {},
"contextId": "4c8f8374-90a2-453f-8b43-343c150da2c5",
"details": [
{
"errorCode": "ACTION.AUTHENTICATION"
}
],
"errors": [
{
"message": "Failed validation with credentialType: basicAuth due to error: 'REST call for action execute failed. Message: Request to backend service failed. To see error details, use test mode to execute the action, or execute request in Postman or other REST tools. [4c8f8374-90a2-453f-8b43-343c150da2c5]'",
"code": "INVALID_CREDENTIALS",
"status": 401,
"messageParams": {},
"details": [],
"errors": []
}
]
}
Does anyone have any ideas? Thanks!
#Integrations------------------------------
Julie Chen
Science Application International Corporation
------------------------------