Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Connection JSON is not working

jsatish
Regular Contributor II
Regular Contributor II

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 this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

jsatish
Regular Contributor II
Regular Contributor II

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

Regards,
SJ