Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/05/2024 01:16 AM
Hi Team,
We are trying to import the accounts and entitlements from Matillion application to Saviynt using REST connection type.
We are getting below error in the logs for ImportAccountEntJSON but it is working in the client Postman, also returning the data for both Accounts and entitlement.
"ERROR","Error WebService call failed After retrying 10 times with responseStatusCode-null, Failed url
Error Message - null"
Thank you in advance
Regards,
Sachin
06/05/2024 01:25 AM
Hi @Sachin, Can you share connection json? and URL used for getting token(If using OAuth)
06/05/2024 01:40 AM
@NM Please find the Connection Json below.
{
"authentications": {
"userAuth": {
"authType": "oauth2",
"httpHeaders": {
"Accept": "application/json"
},
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"FAILURE",
"INVALID_SESSION_ID"
],
"url": "https://XXXX.com",
"httpMethod": "POST",
"httpContentType": "application/json",
"httpParams": "{\"username\":\"XXXXX\",\"password\":\"XXXXX\"}",
"errorPath": "error.code",
"maxRefreshTryCount": 10,
"authHeaderName": "Authorization",
"accessToken": "Basic ABCD",
"retryFailureStatusCode": [
401,
404,
403,
500
]
}
}}
06/05/2024 01:42 AM
Hi @Sachin ,
Use authType": "Basic"
06/05/2024 03:05 AM
Hi @NM i have tried the "authType" : "Basic"
Connection is successful, but after running the job, it is showing the error:
Failed url-https://XXX?offset=0&max=500 with Error Message-null
06/05/2024 03:07 AM
@Sachin cab you send postman screenshot of authentication and import API call?
06/05/2024 04:09 AM
It is on client machine, i will check with respective team and I will share with you.
06/05/2024 11:32 PM
@NM Please find the attached Postman screenshot
06/06/2024 12:25 AM
@Sachin , what are you passing in Authorization for importaccountentjson?
06/06/2024 12:39 AM
"Authorization": "${access_token}"
06/06/2024 01:07 PM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️