We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

We have integrated rest api with Basic authentication type, getting connection null

mkivade
New Contributor II
New Contributor II

Using below connectionJson

 

{
"authentications": {
"acctAuth": {
"authType": "Basic",
"url": "",
"httpMethod": "",
"httpParams": {},
"httpHeaders": {},
"httpContentType": "application/json",
"properties": {
"userName":"abc",
"password":"test@123"
},
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed"
],
"timeOutError": "Read timed out",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"apiRateLimitConfig": {"retryAfterCalls": 100,"retryWaitSeconds": 60}
}
}
}

19 REPLIES 19

mkivade
New Contributor II
New Contributor II

Please help me with connectionJson?

SB
Saviynt Employee
Saviynt Employee

Can you run the auth call from postman and share the screenshot of Request Headers from Console

sahil_0-1683919457650.png


Regards,
Sahil

mkivade
New Contributor II
New Contributor II

@SB 

please find below postman details,

mkivade_0-1684129306435.png

 

mkivade
New Contributor II
New Contributor II

In debug logs I can see below things,

 Exception in executeRequestWithTimeoutConfig:: \n","stream":"stdout","time":"2023-05-12T14:50:00.358050814Z"}"
"ecm-worker","2023-05-12T14:50:00.791+00:00","{"log":"java.lang.NullPointerException: Cannot invoke method equalsIgnoreCase() on null object\n","stream"

 

Hi @mkivade ,

Analyzing the connection JSON, I see that attributes like tokenType and accessToken were missing . Attaching a sample ConnectionJSON for the connectionType Basic. Please update the username, password and try it out.

{
  "authentications": {
    "acctAuth": {
      "authType": "Basic",
      "url": "",
      "httpMethod": "POST",
      "httpParams": {},
      "httpHeaders": {},
      "httpContentType": "application/json",
      "properties": {
        "userName": "",
        "password": ""
      },
      "expiryError": "ExpiredAuthenticationToken",
      "authError": [
        "InvalidAuthenticationToken"
      ],
      "timeOutError": "Read timed out",
      "errorPath": "error.code",
      "maxRefreshTryCount": 5,
      "tokenResponsePath": "",
      "tokenType": "Basic",
      "accessToken": "Basic abcd"
    }
  }
}

Thank you
Vedanth B.K

mkivade
New Contributor II
New Contributor II

@Vedanth_BK 

Thanks for your response.

I have tried above connection Json but still getting null pointer exception..

Exception in executeRequestWithTimeoutConfig:: \n","stream":"stdout","time":"2023-05-15T12:56:52.391741845Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"java.lang.NullPointerException: Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-15T12:56:52.391750679Z"}"

@mkivade Please share the Import JSON or If you trying to execute a provisioning use-case, the corresponding JSON and complete debug logs in a file.

mkivade
New Contributor II
New Contributor II

@Vedanth_BK 

Please find below Json and debug logs,

{
"call": [{
"name": "call1",
"connection": "acctAuth",
"url": "hostname:443/iam/governance/selfservice/api/v1/users",
"httpMethod ": "POST",
"httpParams": "{\"users\":[{\"requestId\":123489, \"fields\":[{\"name\":\"Last Name\", \"value\":\"LastSaviynt\"},{\"name\":\"act_key\", \"value\":\"1\"},{\"name\":\"Role\", \"value\":\"EMP\"},{\"name\":\"User Login\", \"value\":\"P00204568\"}]}]}",
"httpHeaders": {
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [201]
}
}]
}

DEBUG rest.RestProvisioningService - Exit generatePasswordFromJsonOrRule\n","stream":"stdout","time":"2023-05-15T12:56:52.314810544Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,314 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - Total Call: 1\n","stream":"stdout","time":"2023-05-15T12:56:52.314813844Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,336 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - connection: acctAuth\n","stream":"stdout","time":"2023-05-15T12:56:52.337080845Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,390 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - Inside pullObjectsByRest\n","stream":"stdout","time":"2023-05-15T12:56:52.390169721Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,390 [quartzScheduler_Worker-9] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-15T12:56:52.390205874Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,390 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - Calling Webservice Url - hostname/iam/governance/selfservice/api/v1/users with httpParams - [users:[[requestId:123489, fields:[[name:Last Name, value:LastSaviynt], [name:act_key, value:1], [name:Role, value:EMP], [name:User Login, value:P00204568]]]]]\n","stream":"stdout","time":"2023-05-15T12:56:52.390269483Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,390 [quartzScheduler_Worker-9] DEBUG services.HttpClientUtilityService - Enter getTimeOutConfig\n","stream":"stdout","time":"2023-05-15T12:56:52.39033035Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,391 [quartzScheduler_Worker-9] DEBUG services.HttpClientUtilityService - connectionType: REST\n","stream":"stdout","time":"2023-05-15T12:56:52.391131084Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,391 [quartzScheduler_Worker-9] DEBUG services.HttpClientUtilityService - connectionTimeoutConfig before guardRail validation: [connectionTimeout:800, retryWait:2, readTimeout:60, writeTimeout:60]\n","stream":"stdout","time":"2023-05-15T12:56:52.391142679Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,391 [quartzScheduler_Worker-9] DEBUG services.HttpClientUtilityService - Final connectionTimeoutConfig after guardRail validation: [connectionTimeout:800, writeTimeout:60]\n","stream":"stdout","time":"2023-05-15T12:56:52.391241403Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,391 [quartzScheduler_Worker-9] DEBUG services.HttpClientUtilityService - Exception in executeRequestWithTimeoutConfig:: \n","stream":"stdout","time":"2023-05-15T12:56:52.391741845Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"java.lang.NullPointerException: Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-15T12:56:52.391750679Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.HttpClientUtilityService.executeRequestWithHeaders(HttpClientUtilityService.groovy:646)\n","stream":"stdout","time":"2023-05-15T12:56:52.39175463Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.HttpClientUtilityService.executeRequestWithTimeoutConfig(HttpClientUtilityService.groovy:603)\n","stream":"stdout","time":"2023-05-15T12:56:52.391759032Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.pullObjectsByRest(RestProvisioningService.groovy:4419)\n","stream":"stdout","time":"2023-05-15T12:56:52.391762626Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createNewUser(RestProvisioningService.groovy:2736)\n","stream":"stdout","time":"2023-05-15T12:56:52.39176621Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService$_createAccount_closure13.doCall(RestProvisioningService.groovy:2127)\n","stream":"stdout","time":"2023-05-15T12:56:52.391769689Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createAccount(RestProvisioningService.groovy:1967)\n","stream":"stdout","time":"2023-05-15T12:56:52.391773258Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskService.createAccountTarget(ArsTaskService.groovy:11498)\n","stream":"stdout","time":"2023-05-15T12:56:52.39177682Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsThreeNewAccountAccess_closure50.doCall(ArsTaskHelperService.groovy:3034)\n","stream":"stdout","time":"2023-05-15T12:56:52.391780505Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsThreeNewAccountAccess(ArsTaskHelperService.groovy:3025)\n","stream":"stdout","time":"2023-05-15T12:56:52.391783946Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:171)\n","stream":"stdout","time":"2023-05-15T12:56:52.39178757Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.completeAutoProvTasksUpgraded(ArsTaskHelperService.groovy:156)\n","stream":"stdout","time":"2023-05-15T12:56:52.391791227Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at MultipleProvisioningJob.execute(MultipleProvisioningJob.groovy:222)\n","stream":"stdout","time":"2023-05-15T12:56:52.391799176Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at org.quartz.core.JobRunShell.run(JobRunShell.java:199)\n","stream":"stdout","time":"2023-05-15T12:56:52.391802909Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)\n","stream":"stdout","time":"2023-05-15T12:56:52.391808439Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,392 [quartzScheduler_Worker-9] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-15T12:56:52.39286431Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,392 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - Got Webservice API Response: [responseText:Cannot invoke method equalsIgnoreCase() on null object]\n","stream":"stdout","time":"2023-05-15T12:56:52.392916734Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,392 [quartzScheduler_Worker-9] DEBUG rest.RestUtilService - pullObjectsByRest - responseStatusCode ::null\n","stream":"stdout","time":"2023-05-15T12:56:52.392958311Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,392 [quartzScheduler_Worker-9] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-15T12:56:52.392962818Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,392 [quartzScheduler_Worker-9] DEBUG rest.RestUtilService - Got null response statusCode with erroMsg - Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-15T12:56:52.392992801Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,393 [quartzScheduler_Worker-9] ERROR rest.RestProvisioningService - Exception in getting response in pullObjectsByRest :\n","stream":"stdout","time":"2023-05-15T12:56:52.393322745Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"java.lang.Exception: NullResponseFromTarget\n","stream":"stdout","time":"2023-05-15T12:56:52.393331653Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestUtilService.checkForErrorMsg(RestUtilService.groovy:1444)\n","stream":"stdout","time":"2023-05-15T12:56:52.393334355Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.pullObjectsByRest(RestProvisioningService.groovy:4437)\n","stream":"stdout","time":"2023-05-15T12:56:52.39333732Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createNewUser(RestProvisioningService.groovy:2736)\n","stream":"stdout","time":"2023-05-15T12:56:52.393339914Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService$_createAccount_closure13.doCall(RestProvisioningService.groovy:2127)\n","stream":"stdout","time":"2023-05-15T12:56:52.393342219Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createAccount(RestProvisioningService.groovy:1967)\n","stream":"stdout","time":"2023-05-15T12:56:52.393344573Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskService.createAccountTarget(ArsTaskService.groovy:11498)\n","stream":"stdout","time":"2023-05-15T12:56:52.39334699Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsThreeNewAccountAccess_closure50.doCall(ArsTaskHelperService.groovy:3034)\n","stream":"stdout","time":"2023-05-15T12:56:52.393349364Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsThreeNewAccountAccess(ArsTaskHelperService.groovy:3025)\n","stream":"stdout","time":"2023-05-15T12:56:52.393351728Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:171)\n","stream":"stdout","time":"2023-05-15T12:56:52.393354031Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.completeAutoProvTasksUpgraded(ArsTaskHelperService.groovy:156)\n","stream":"stdout","time":"2023-05-15T12:56:52.393356541Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at MultipleProvisioningJob.execute(MultipleProvisioningJob.groovy:222)\n","stream":"stdout","time":"2023-05-15T12:56:52.393358841Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at org.quartz.core.JobRunShell.run(JobRunShell.java:199)\n","stream":"stdout","time":"2023-05-15T12:56:52.393361027Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"\u0009at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)\n","stream":"stdout","time":"2023-05-15T12:56:52.393363222Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] ERROR rest.RestProvisioningService - Call response: Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-15T12:56:52.394403545Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] ERROR rest.RestProvisioningService - Exception in validateResponse while parsing the target response\n","stream":"stdout","time":"2023-05-15T12:56:52.394483327Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] ERROR rest.RestProvisioningService - callResponseMap: [:]\n","stream":"stdout","time":"2023-05-15T12:56:52.395319371Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - showResponse: null\n","stream":"stdout","time":"2023-05-15T12:56:52.395332177Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - createNewUser - temp.status - Failed\n","stream":"stdout","time":"2023-05-15T12:56:52.395336159Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - doBreak: true\n","stream":"stdout","time":"2023-05-15T12:56:52.395339787Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - response: [call1:[headers:null, statusCode:null, description:null, status:Failed]]\n","stream":"stdout","time":"2023-05-15T12:56:52.395350116Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - Response size: 1\n","stream":"stdout","time":"2023-05-15T12:56:52.395354109Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - Task Response: {\"call1\":{\"headers\":null,\"statusCode\":null,\"description\":null,\"status\":\"Failed\"}}\n","stream":"stdout","time":"2023-05-15T12:56:52.395357548Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - accountId: null\n","stream":"stdout","time":"2023-05-15T12:56:52.395361682Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,394 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - Task Response: {\"call1\":{\"headers\":null,\"statusCode\":null,\"description\":null,\"status\":\"Failed\"}}\n","stream":"stdout","time":"2023-05-15T12:56:52.395365105Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,395 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - accountResponseMap: null\n","stream":"stdout","time":"2023-05-15T12:56:52.395369065Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,395 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - taskResult: false\n","stream":"stdout","time":"2023-05-15T12:56:52.39537269Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,395 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - isEntitlementOnly: false\n","stream":"stdout","time":"2023-05-15T12:56:52.395376373Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,395 [quartzScheduler_Worker-9] DEBUG rest.RestProvisioningService - taskResult:: false\n","stream":"stdout","time":"2023-05-15T12:56:52.395380026Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,395 [quartzScheduler_Worker-9] ERROR rest.RestProvisioningService - Error while creating account - P73716 removing tasks from the list \n","stream":"stdout","time":"2023-05-15T12:56:52.395383713Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,397 [quartzScheduler_Worker-9] DEBUG services.ArsTaskService - Inside updateProvisioningTries..\n","stream":"stdout","time":"2023-05-15T12:56:52.397402462Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,416 [quartzScheduler_Worker-9] DEBUG services.ArsTaskService - Entering provisionAccesstoAccountSaviynt\n","stream":"stdout","time":"2023-05-15T12:56:52.41656776Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,416 [quartzScheduler_Worker-9] DEBUG services.ArsTaskService - {P73716=[]}\n","stream":"stdout","time":"2023-05-15T12:56:52.416585937Z"}"
"ecm-worker","2023-05-15T12:56:52.803+00:00","{"log":"2023-05-15 12:56:52,416 [quartzScheduler_Worker-9] DEBUG services.ArsTaskService - NewAccount\n","stream":"stdout","time":"2023-05-15T12:56:52.41658931Z"}"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

@mkivadeAfter reviewing the JSON and debug logs, please make the following updates: -
1. Remove the space  in the "httpMethod " 
2. Add the authorization under httpHeaders i.e  "Authorization": "${access_token}",

Vedanth_BK_0-1684159640362.png

 



mkivade
New Contributor II
New Contributor II

@Vedanth_BK 

Thanks for your quick response, I have tried above updates but still same issue,

In logs I can see ERROR rest.RestProvisioningService - Exception in getting response in pullObjectsByRest

Do you have any idea?

 

Exception in executeRequestWithTimeoutConfig:: \n","stream":"stdout","time":"2023-05-15T14:04:01.380403826Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"java.lang.NullPointerException: Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-15T14:04:01.380417608Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.ecm.services.HttpClientUtilityService.executeRequestWithHeaders(HttpClientUtilityService.groovy:646)\n","stream":"stdout","time":"2023-05-15T14:04:01.380420676Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.ecm.services.HttpClientUtilityService.executeRequestWithTimeoutConfig(HttpClientUtilityService.groovy:603)\n","stream":"stdout","time":"2023-05-15T14:04:01.380423305Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.pullObjectsByRest(RestProvisioningService.groovy:4419)\n","stream":"stdout","time":"2023-05-15T14:04:01.380425978Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createNewUser(RestProvisioningService.groovy:2736)\n","stream":"stdout","time":"2023-05-15T14:04:01.380428515Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService$_createAccount_closure13.doCall(RestProvisioningService.groovy:2127)\n","stream":"stdout","time":"2023-05-15T14:04:01.380432381Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createAccount(RestProvisioningService.groovy:1967)\n","stream":"stdout","time":"2023-05-15T14:04:01.380434712Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskService.createAccountTarget(ArsTaskService.groovy:11498)\n","stream":"stdout","time":"2023-05-15T14:04:01.380436998Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsThreeNewAccountAccess_closure50.doCall(ArsTaskHelperService.groovy:3034)\n","stream":"stdout","time":"2023-05-15T14:04:01.380439381Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsThreeNewAccountAccess(ArsTaskHelperService.groovy:3025)\n","stream":"stdout","time":"2023-05-15T14:04:01.380441727Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:171)\n","stream":"stdout","time":"2023-05-15T14:04:01.380444127Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.completeAutoProvTasksUpgraded(ArsTaskHelperService.groovy:156)\n","stream":"stdout","time":"2023-05-15T14:04:01.380446436Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at MultipleProvisioningJob.execute(MultipleProvisioningJob.groovy:222)\n","stream":"stdout","time":"2023-05-15T14:04:01.380454574Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at org.quartz.core.JobRunShell.run(JobRunShell.java:199)\n","stream":"stdout","time":"2023-05-15T14:04:01.380457858Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"\u0009at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)\n","stream":"stdout","time":"2023-05-15T14:04:01.380461231Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"2023-05-15 14:04:01,381 [quartzScheduler_Worker-8] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-15T14:04:01.381648342Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"2023-05-15 14:04:01,381 [quartzScheduler_Worker-8] DEBUG rest.RestProvisioningService - Got Webservice API Response: [responseText:Cannot invoke method equalsIgnoreCase() on null object]\n","stream":"stdout","time":"2023-05-15T14:04:01.381684989Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"2023-05-15 14:04:01,381 [quartzScheduler_Worker-8] DEBUG rest.RestUtilService - pullObjectsByRest - responseStatusCode ::null\n","stream":"stdout","time":"2023-05-15T14:04:01.381735367Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"2023-05-15 14:04:01,381 [quartzScheduler_Worker-8] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-15T14:04:01.381743531Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"2023-05-15 14:04:01,381 [quartzScheduler_Worker-8] DEBUG rest.RestUtilService - Got null response statusCode with erroMsg - Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-15T14:04:01.381769832Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"2023-05-15 14:04:01,382 [quartzScheduler_Worker-8] ERROR rest.RestProvisioningService - Exception in getting response in pullObjectsByRest :\n","stream":"stdout","time":"2023-05-15T14:04:01.382180239Z"}"
"ecm-worker","2023-05-15T14:04:01.808+00:00","{"log":"java.lang.Exception: NullResponseFromTarget\n","stream":"stdout","time":"2023-05-15T14:04:01.382188381Z"}"

SB
Saviynt Employee
Saviynt Employee

Can you share the screenshot of Request headers from Console. You should see Console option at bottom left of postman. Please refer my screenshot for same.

sahil_0-1684163071687.png

 


Regards,
Sahil

mkivade
New Contributor II
New Contributor II

@SB 

Please find below details,

mkivade_0-1684164216015.png

Thanks

SB
Saviynt Employee
Saviynt Employee

You need to update the httpHeaders value as below. Please copy the value of Authorization value you received from postman and replace it in below.

"httpHeaders": {
"Authorization": "Basic Abcdes"
},
"authHeaderName": "Authorization",


Regards,
Sahil

mkivade
New Contributor II
New Contributor II

@SB 

Thanks for your help but still same issue, please find below details

,319 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Exit generatePasswordFromJsonOrRule\n","stream":"stdout","time":"2023-05-16T05:53:29.320101965Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,320 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Total Call: 1\n","stream":"stdout","time":"2023-05-16T05:53:29.320194842Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,382 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - connection: acctAuth\n","stream":"stdout","time":"2023-05-16T05:53:29.382631209Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,469 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Inside pullObjectsByRest\n","stream":"stdout","time":"2023-05-16T05:53:29.469367837Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,469 [quartzScheduler_Worker-7] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-16T05:53:29.469404428Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,475 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Calling Webservice Url - hostname/iam/governance/selfservice/api/v1/users with httpParams - [users:[[requestId:123489, fields:[[name:Last Name, value:LastSaviynt], [name:act_key, value:1], [name:Role, value:EMP], [name:User Login, value:P00204578]]]]]\n","stream":"stdout","time":"2023-05-16T05:53:29.475995949Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,476 [quartzScheduler_Worker-7] DEBUG services.HttpClientUtilityService - Enter getTimeOutConfig\n","stream":"stdout","time":"2023-05-16T05:53:29.476123774Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,476 [quartzScheduler_Worker-7] DEBUG services.HttpClientUtilityService - connectionType: REST\n","stream":"stdout","time":"2023-05-16T05:53:29.476961441Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,476 [quartzScheduler_Worker-7] DEBUG services.HttpClientUtilityService - connectionTimeoutConfig before guardRail validation: [connectionTimeout:800, retryWait:2, readTimeout:60, writeTimeout:60]\n","stream":"stdout","time":"2023-05-16T05:53:29.477019896Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,478 [quartzScheduler_Worker-7] DEBUG services.HttpClientUtilityService - Final connectionTimeoutConfig after guardRail validation: [connectionTimeout:800, writeTimeout:60]\n","stream":"stdout","time":"2023-05-16T05:53:29.478970936Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,479 [quartzScheduler_Worker-7] DEBUG services.HttpClientUtilityService - Exception in executeRequestWithTimeoutConfig:: \n","stream":"stdout","time":"2023-05-16T05:53:29.479708644Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"java.lang.NullPointerException: Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-16T05:53:29.479743569Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.HttpClientUtilityService.executeRequestWithHeaders(HttpClientUtilityService.groovy:646)\n","stream":"stdout","time":"2023-05-16T05:53:29.479748116Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.HttpClientUtilityService.executeRequestWithTimeoutConfig(HttpClientUtilityService.groovy:603)\n","stream":"stdout","time":"2023-05-16T05:53:29.479751597Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.pullObjectsByRest(RestProvisioningService.groovy:4419)\n","stream":"stdout","time":"2023-05-16T05:53:29.479754772Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createNewUser(RestProvisioningService.groovy:2736)\n","stream":"stdout","time":"2023-05-16T05:53:29.479758143Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService$_createAccount_closure13.doCall(RestProvisioningService.groovy:2127)\n","stream":"stdout","time":"2023-05-16T05:53:29.479761387Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createAccount(RestProvisioningService.groovy:1967)\n","stream":"stdout","time":"2023-05-16T05:53:29.479764389Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskService.createAccountTarget(ArsTaskService.groovy:11498)\n","stream":"stdout","time":"2023-05-16T05:53:29.479767447Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsThreeNewAccountAccess_closure50.doCall(ArsTaskHelperService.groovy:3034)\n","stream":"stdout","time":"2023-05-16T05:53:29.47977047Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsThreeNewAccountAccess(ArsTaskHelperService.groovy:3025)\n","stream":"stdout","time":"2023-05-16T05:53:29.479773568Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:171)\n","stream":"stdout","time":"2023-05-16T05:53:29.479776657Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.completeAutoProvTasksUpgraded(ArsTaskHelperService.groovy:156)\n","stream":"stdout","time":"2023-05-16T05:53:29.479779804Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at MultipleProvisioningJob.execute(MultipleProvisioningJob.groovy:222)\n","stream":"stdout","time":"2023-05-16T05:53:29.479782871Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at org.quartz.core.JobRunShell.run(JobRunShell.java:199)\n","stream":"stdout","time":"2023-05-16T05:53:29.479786483Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)\n","stream":"stdout","time":"2023-05-16T05:53:29.479789642Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,481 [quartzScheduler_Worker-7] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-16T05:53:29.481610786Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,481 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Got Webservice API Response: [responseText:Cannot invoke method equalsIgnoreCase() on null object]\n","stream":"stdout","time":"2023-05-16T05:53:29.48175735Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,481 [quartzScheduler_Worker-7] DEBUG rest.RestUtilService - pullObjectsByRest - responseStatusCode ::null\n","stream":"stdout","time":"2023-05-16T05:53:29.48191295Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,481 [quartzScheduler_Worker-7] DEBUG rest.RestUtilService - Got showLogs = true\n","stream":"stdout","time":"2023-05-16T05:53:29.481927471Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,481 [quartzScheduler_Worker-7] DEBUG rest.RestUtilService - Got null response statusCode with erroMsg - Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-16T05:53:29.481988009Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,482 [quartzScheduler_Worker-7] ERROR rest.RestProvisioningService - Exception in getting response in pullObjectsByRest :\n","stream":"stdout","time":"2023-05-16T05:53:29.482565291Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"java.lang.Exception: NullResponseFromTarget\n","stream":"stdout","time":"2023-05-16T05:53:29.482592753Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestUtilService.checkForErrorMsg(RestUtilService.groovy:1444)\n","stream":"stdout","time":"2023-05-16T05:53:29.48260622Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.pullObjectsByRest(RestProvisioningService.groovy:4437)\n","stream":"stdout","time":"2023-05-16T05:53:29.482610293Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createNewUser(RestProvisioningService.groovy:2736)\n","stream":"stdout","time":"2023-05-16T05:53:29.482614562Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService$_createAccount_closure13.doCall(RestProvisioningService.groovy:2127)\n","stream":"stdout","time":"2023-05-16T05:53:29.482618312Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.provisoning.rest.RestProvisioningService.createAccount(RestProvisioningService.groovy:1967)\n","stream":"stdout","time":"2023-05-16T05:53:29.482622022Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskService.createAccountTarget(ArsTaskService.groovy:11498)\n","stream":"stdout","time":"2023-05-16T05:53:29.482626086Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsThreeNewAccountAccess_closure50.doCall(ArsTaskHelperService.groovy:3034)\n","stream":"stdout","time":"2023-05-16T05:53:29.482629727Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsThreeNewAccountAccess(ArsTaskHelperService.groovy:3025)\n","stream":"stdout","time":"2023-05-16T05:53:29.4826332Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:171)\n","stream":"stdout","time":"2023-05-16T05:53:29.482636974Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at com.saviynt.ecm.services.ArsTaskHelperService.completeAutoProvTasksUpgraded(ArsTaskHelperService.groovy:156)\n","stream":"stdout","time":"2023-05-16T05:53:29.482640574Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at MultipleProvisioningJob.execute(MultipleProvisioningJob.groovy:222)\n","stream":"stdout","time":"2023-05-16T05:53:29.482644578Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at org.quartz.core.JobRunShell.run(JobRunShell.java:199)\n","stream":"stdout","time":"2023-05-16T05:53:29.482647824Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"\u0009at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)\n","stream":"stdout","time":"2023-05-16T05:53:29.482650647Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,484 [quartzScheduler_Worker-7] ERROR rest.RestProvisioningService - Call response: Cannot invoke method equalsIgnoreCase() on null object\n","stream":"stdout","time":"2023-05-16T05:53:29.484480467Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,490 [quartzScheduler_Worker-7] ERROR rest.RestProvisioningService - Exception in validateResponse while parsing the target response\n","stream":"stdout","time":"2023-05-16T05:53:29.490594422Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,490 [quartzScheduler_Worker-7] ERROR rest.RestProvisioningService - callResponseMap: [:]\n","stream":"stdout","time":"2023-05-16T05:53:29.490626301Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,490 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - showResponse: null\n","stream":"stdout","time":"2023-05-16T05:53:29.490631481Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,490 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - createNewUser - temp.status - Failed\n","stream":"stdout","time":"2023-05-16T05:53:29.490682643Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,490 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - doBreak: true\n","stream":"stdout","time":"2023-05-16T05:53:29.490697184Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,491 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - response: [call1:[headers:null, statusCode:null, description:null, status:Failed]]\n","stream":"stdout","time":"2023-05-16T05:53:29.491669464Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,491 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Response size: 1\n","stream":"stdout","time":"2023-05-16T05:53:29.491680663Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,491 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Task Response: {\"call1\":{\"headers\":null,\"statusCode\":null,\"description\":null,\"status\":\"Failed\"}}\n","stream":"stdout","time":"2023-05-16T05:53:29.491907944Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,491 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - accountId: null\n","stream":"stdout","time":"2023-05-16T05:53:29.491926282Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,491 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - Task Response: {\"call1\":{\"headers\":null,\"statusCode\":null,\"description\":null,\"status\":\"Failed\"}}\n","stream":"stdout","time":"2023-05-16T05:53:29.491930924Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,497 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - accountResponseMap: null\n","stream":"stdout","time":"2023-05-16T05:53:29.497210446Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,497 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - taskResult: false\n","stream":"stdout","time":"2023-05-16T05:53:29.497238869Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,497 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - isEntitlementOnly: false\n","stream":"stdout","time":"2023-05-16T05:53:29.497242176Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,497 [quartzScheduler_Worker-7] DEBUG rest.RestProvisioningService - taskResult:: false\n","stream":"stdout","time":"2023-05-16T05:53:29.497244821Z"}"
"ecm-worker","2023-05-16T05:53:30.256+00:00","{"log":"2023-05-16 05:53:29,497 [quartzScheduler_Worker-7] ERROR rest.RestProvisioningService - Error while creating account - P73716 removing tasks from the list \n","stream":"stdout","tim

SB
Saviynt Employee
Saviynt Employee

Can you check if you are able to complete the request from postman with just the below payload that is being sent from Saviynt.

[users:[[requestId:123489, fields:[[name:Last Name, value:LastSaviynt], [name:act_key, value:1], [name:Role, value:EMP], [name:User Login, value:P00204578]]]]]


Regards,
Sahil

piyushm
Regular Contributor II
Regular Contributor II

Hi @SB , I am getting exact same issue and the log messages are also identical. In my case, both import and provisioning were working earlier. No changes made to any of the JSONs and the curl command is also working from the SC2 client.

SB
Saviynt Employee
Saviynt Employee

Can you update ConfigJSON param in the REST connection with value {"showLogs":true} if not doen already and check in the logs for the below keywords. This might help narrow down the issue.

Calling Webservice Url

Got Webservice API Response


Regards,
Sahil

piyushm
Regular Contributor II
Regular Contributor II

Hi Sahil,

It is showing "Temporary failure in name resolution". But I am able to use curl command from the SC2 Client and getting the correct results.

SB
Saviynt Employee
Saviynt Employee

Can you work with Saviynt support team on this. It appears the app is not able to resolve the domain name and the information needs to be updated on Saviynt server. I have created a support ticket https://saviynt.freshdesk.com/a/tickets/1638734 on your behalf.

You can add all the other details like Saviynt app url/ target app url so the team can check further on this.


Regards,
Sahil