Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/22/2024 08:35 AM
Hello Team,
I hope you are doing well.
Subject: Account Import Job is Failing for PingOne Integration with Saviynt
Details: I have used OOTB connector package for PingOne Integration with Saviynt.
We are getting account import job failed and getting following error in the log.
I thought it is related to access token expiry. Then I get the access token using postman connection to pingone and used that token in PingOne Saviynt Connection instance
but still getting the job failed with same error message in the log.
Kindly check the details and help us to resolve this issue.
===========================================================================================
"2024-10-22T15:07:29.935+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","getHttpClient - HttpClientBuilder.create().build() called."
"2024-10-22T15:07:29.981+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","called executeGetRequestWithHeaders for api..."
"2024-10-22T15:07:29.981+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","after calling executeRequestWithHeaders for api..."
"2024-10-22T15:07:29.981+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","called api..."
"2024-10-22T15:07:29.981+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","timeout validated for api..."
"2024-10-22T15:07:29.981+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","got response for api..."
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG",""
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","pullObjectsByRest - responseStatusCode ::401"
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","ERROR","Exception in pullObjectsByRest :401"
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","ERROR","Inside token Expiry Exception block. connectionParamMap.refreshTryCount : 5"
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Incrementing connectionParamMap.refreshTryCount : 6"
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","maxRefreshTryCount : 5"
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","ERROR","Exception in token refresh : null"
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","ERROR","Error WebService call failed After retrying 5 times with responseStatusCode-null, Failed url-https://api.pingone.com/v1/environments/TENANTID/users, Error Message - null"
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Decrementing connectionParamMap.refreshTryCount : 5"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Decrementing connectionParamMap.refreshTryCount : 4"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Decrementing connectionParamMap.refreshTryCount : 3"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Decrementing connectionParamMap.refreshTryCount : 2"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Decrementing connectionParamMap.refreshTryCount : 1"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Decrementing connectionParamMap.refreshTryCount : 0"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","Got showLogs = true"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","Got showLogs = true"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Error while getting Account Import response for url- https://api.pingone.com/v1/environments/TENANTID/users is: null"
"2024-10-22T15:07:29.983+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Getting response statusCode null, so failing Account Import Job"
"2024-10-22T15:07:29.983+00:00","ecm-worker","services.ImportUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","isImportSuccess: false"
"2024-10-22T15:07:29.983+00:00","ecm-worker","services.ImportUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","Entered markStatusBasedOnThreshold"
"2024-10-22T15:07:29.983+00:00","ecm-worker","services.ImportUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","statusAndThresholdConfig is empty"
"2024-10-22T15:07:29.984+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Mapping Users to accounts."
"2024-10-22T15:07:29.984+00:00","ecm-worker","saviynt.ImportExternalDbService","quartzScheduler_Worker-6-2xxn8","DEBUG","Associating Users and Accounts"
============================================================================================
============================================================================================
"2024-10-22T15:07:29.744+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","getHttpClient - HttpClientBuilder.create().build() called."
"2024-10-22T15:07:29.792+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","called executeGetRequestWithHeaders for api..."
"2024-10-22T15:07:29.792+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","after calling executeRequestWithHeaders for api..."
"2024-10-22T15:07:29.792+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","called api..."
"2024-10-22T15:07:29.792+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","timeout validated for api..."
"2024-10-22T15:07:29.792+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","got response for api..."
"2024-10-22T15:07:29.792+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG",""
"2024-10-22T15:07:29.792+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","pullObjectsByRest - responseStatusCode ::401"
"2024-10-22T15:07:29.793+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","ERROR","Exception in pullObjectsByRest :401"
"2024-10-22T15:07:29.793+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","ERROR","Inside token Expiry Exception block. connectionParamMap.refreshTryCount : 4"
"2024-10-22T15:07:29.793+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Incrementing connectionParamMap.refreshTryCount : 5"
"2024-10-22T15:07:29.793+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","maxRefreshTryCount : 5"
"2024-10-22T15:07:29.793+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","Calling https://auth.pingone.com/TENANTID/as/token"
"2024-10-22T15:07:29.793+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","calling executeRequestWithTimeoutConfig for api..."
"2024-10-22T15:07:29.793+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","calling api..."
"2024-10-22T15:07:29.793+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","before calling executeRequestWithHeaders for api..."
"2024-10-22T15:07:29.793+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","isFipsEnabled = false"
"2024-10-22T15:07:29.794+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","getHttpClient - proxyParams : null"
"2024-10-22T15:07:29.794+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","getHttpClient - sslSocketFactory : null"
"2024-10-22T15:07:29.794+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","setting connection timeout to 10 seconds and request timeout to 60 seconds"
"2024-10-22T15:07:29.795+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","getHttpClient - HttpClientBuilder.create().build() called."
"2024-10-22T15:07:29.857+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","called executePostRequestWithHeaders for api..."
"2024-10-22T15:07:29.858+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","after calling executeRequestWithHeaders for api..."
"2024-10-22T15:07:29.858+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","called api..."
"2024-10-22T15:07:29.858+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","timeout validated for api..."
"2024-10-22T15:07:29.858+00:00","ecm-worker","services.HttpClientUtilityService","quartzScheduler_Worker-6-2xxn8","DEBUG","got response for api..."
"2024-10-22T15:07:29.858+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","fetching result from response.responseText"
"2024-10-22T15:07:29.858+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","responseToken is null or empty"
"2024-10-22T15:07:29.859+00:00","ecm-worker","rest.RestUtilService","quartzScheduler_Worker-6-2xxn8","DEBUG","connectionid:: 168"
"2024-10-22T15:07:29.861+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","access token populated for oauth authentication.."
"2024-10-22T15:07:29.932+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","params?.paginationParam?.iterationCount = 0"
"2024-10-22T15:07:29.933+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG","Inside pullObjectsByRest"
"2024-10-22T15:07:29.933+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","DEBUG",""
================================================================================================
10/22/2024 09:02 AM
You have authentication issue
"2024-10-22T15:07:29.982+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-6-2xxn8","ERROR","Exception in pullObjectsByRest :401"
Please share connection JSON/ Postman screenshot and curl command for auth.
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.‼️‼️⚠️
10/23/2024 07:30 AM
Hello Rushikesh,
Please find the Connection JSON and Postman Connection Test and Read User Screenshot.
Connection JSON:
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"url": "https://auth.pingone.com/TENANTID/as/token",
"httpMethod": "POST",
"httpParams": {
"grant_type": "client_credentials",
"client_id": "ABCD",
"client_secret": "XYZ"
},
"httpHeaders": {
"contentType": "application/x-www-form-urlencoded"
},
"httpContentType": "application/x-www-form-urlencoded",
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"InvalidAuthenticationToken"
],
"retryFailureStatusCode": [
401
],
"timeOutError": "Read timed out",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"accessToken": "ABCD1234"
}
}
}