Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Connection JSON is not working

jsatish
Regular Contributor
Regular Contributor

Hi Team,

We are trying to integrating one application with REST Connector, but problem here is Connection JSON is not working. In postman we are getting the ticket value as a response, but if we use the below Connection JSON it's failing.

Connection JSON:

{
"authentications": {
"userAuth": {
"authType": "Basic",
"url": "URL",
"httpMethod": "POST",
"httpParams": {},
"httpHeaders": {
"Content-Type": "application/json"
},
"httpContentType": "",
"properties": {
"userName": "UI_Admin",
"password": "HYYYHY83#4k",
"ticketType": "ABCTICKET"
},
"testConnectionParams": {
"http": {
"url": "URL",
"httpHeaders": {
"Authorization": "${access_token}"
},
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"401 Unauthorized"
],
"timeOutError": "Read timed out",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Basic",
"accessToken": "Basic abc"
}
}
}
}
}

 

Response from Postman:

jsatish_0-1663747858378.png

Regards,

SJ

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

successResponseCode are missing

Refer https://saviynt.freshdesk.com/support/solutions/articles/43000521736-rest-connector-guide%C2%A0


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

jsatish
Regular Contributor
Regular Contributor

Thanks for the input, but now it's working without successresponse. Due to DNS issue it was failed.

Regards,
SJ