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

REST ImportAccountEntJSON is throwing error while fetching accounts and entitlements.

Sachin
New Contributor
New Contributor

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

 

10 REPLIES 10

NM
Honored Contributor II
Honored Contributor II

Hi @Sachin, Can you share connection json? and URL used for getting token(If using OAuth)

 

Sachin
New Contributor
New Contributor

@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
]
}
}}

NM
Honored Contributor II
Honored Contributor II

Hi @Sachin ,

Use authType": "Basic"

Sachin
New Contributor
New Contributor

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

 

NM
Honored Contributor II
Honored Contributor II

@Sachin cab you send postman screenshot of authentication and import API call?

Sachin
New Contributor
New Contributor

It is on client machine, i will check with respective team and I will share with you.

Sachin
New Contributor
New Contributor

Sachin_0-1717655522396.png

@NM Please find the attached Postman screenshot

NM
Honored Contributor II
Honored Contributor II

@Sachin , what are you passing in Authorization for importaccountentjson?

Sachin
New Contributor
New Contributor

@NM 

   "Authorization": "${access_token}"

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.‼️‼️⚠️


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.