and more in a single search tool across platforms. Read the announcement here. |
09/28/2023 05:33 AM
Dear All,
We are leveraging Sav4Sav REST Connector to execute a runtime analytics. The job runs for more than couple of hours. We are seeing the following behaviour,
Could you please assist with this? We have provided below - the connectionJson that we are using.
Thanks,
Rakesh
{ "authentications": { "userAuth": { "authType": "oauth2", "httpHeaders": { "Accept": "application/json" }, "authError": [ "InvalidAuthenticationToken" ], "url": "https://<domainname>.saviyntcloud.com.saviyntcloud.com/ECM/api/login", "httpMethod": "POST", "httpContentType": "application/json", "httpParams": "{\"username\":\"<username>\",\"password\":\"<password>"}", "errorPath": "error.code", "maxRefreshTryCount": 5, "tokenResponsePath": "access_token", "tokenType": "Bearer", "authHeaderName": "Authorization", "accessToken": "Bearer <token copied from postman>", "retryFailureStatusCode": [ 401 ] } } } |
Solved! Go to Solution.
09/29/2023 01:00 PM
Can you try with the below Connection JSON.
10/01/2023 09:31 AM
You can try this out.
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"httpHeaders": {
"Accept": "application/json"
},
"authError": [
"InvalidAuthenticationToken"
],
"url": "https://SaviyntURL/ECM/api/login",
"httpMethod": "POST",
"httpContentType": "application/json",
"errorPath": "error.code",
"maxRefreshTryCount": 2,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer ABCD",
"httpParams": "{\"username\":\"admin\",\"password\":\"Not4$password\"}",
"retryFailureStatusCode": [
401
]
}
}
}
Please let us know if you need anything else.
10/03/2023 03:17 AM
Can you try with the below Connection JSON.
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"httpHeaders": {
"Accept": "application/json"
},
"authError": [
"InvalidAuthenticationToken"
],
"url": "https://SaviyntURL/ECM/api/login",
"httpMethod": "POST",
"httpContentType": "application/json",
"errorPath": "error.code",
"maxRefreshTryCount": 2,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer ABCD",
"httpParams": {
"username": "your_username",
"password": "your_password"
},
"retryFailureStatusCode": [
401
]
}
}
}
10/03/2023 03:48 AM
It seems to be working. Thank you!