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

CreateAccount not working

Jyoti1
Regular Contributor
Regular Contributor

Hi Team

 

We are trying to create account in highradius and users are getting created in HighRadius. However tasks are failing in saviynt and accounts not creating in saviynt.

 

Below is the json-

 

{
  "accountIdPath": "call1.message.traceId",
  "call": [{
  "name": "call1",
  "connection": "userAuth",
  "httpMethod": "POST",
  "httpParams": "{\"user\":[{\"firstName\": \"${user.firstname}\", \"lastName\": \"${user.lastname}\", \"userName\": \"${user.email}\",\"email\": \"${user.email}\",\"functionalRole\": \"${requestAccessAttributes.dynFunctionalRole}\", \"securityRole\": \"${requestAccessAttributes.dynSecurityRole}\", \"active\": true, \"languageId\": \"en\", \"defaultMenu\": \"${requestAccessAttributes.dynDefaultMenu}\",\"loginType\": \"SSO\"}]}",
  "httpHeaders": {
  "Authorization": "${access_token}",
  "Accept": "application/json"
  },
  "httpContentType": "application/json",
  "successResponses": {"result.statusCode": [6001]}
 
  }]
}
 
 
logs -
 
r","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","Entered getResponseHeaders method"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","responseError : []"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","isAuthError: false"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","pullObjectsByRest - responseMap.size : 4"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","pullObjectsByRest - objectList.size : 1"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","ERROR","Call response: {"traceId":"61c1371b-005a-471e-8e2d-54212780245b","result":{"status":"success","message":"All users are created successfully. ","statusCode":"6001"},"user":[{"title":null,"firstName":"xxxxx","lastName":"xxxxx","userName":"username@domain.com","phoneNumberExtension":null,"phoneNumber":null,"email":"username@domain.com","timeZone":"America/Chicago","functionalRole":"Admin - Global Admin","supervisorName":null,"securityRole":"Logistics","auditSecurityRoleType":null,"departmentName":null,"amountFormat":null,"active":true,"locked":false,"languageId":"en","location":null,"country":null,"defaultMenu":"Deductions","emailSubscription":false,"scheduledEmailsubscription":false,"dateFormat":null,"userType":"InternalUser","loginType":"SSO","lastLoggedTime":null,"dataSecurityGroupName":null,"createUser":"IAM API","createTime":"2023-10-24T10:31:37Z","updateUser":"IAM API","updateTime":null,"customer":null,"newUserName":null,"defaultAccount":null,"accountName":null,"default":false,"validRequest":true}],"error":[]}"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","ERROR","callResponseMap: [traceId:61c1371b-005a-471e-8e2d-54212780245b, result:[status:success, message:All users are created successfully. , statusCode:6001], user:[[title:null, firstName:xxxx, lastName:xxxx, userName:username@domain.com, phoneNumberExtension:null, phoneNumber:null, email:username@domain.com, timeZone:America/Chicago, functionalRole:Admin - Global Admin, supervisorName:null, securityRole:Logistics, auditSecurityRoleType:null, departmentName:null, amountFormat:null, active:true, locked:false, languageId:en, location:null, country:null, defaultMenu:Deductions, emailSubscription:false, scheduledEmailsubscription:false, dateFormat:null, userType:InternalUser, loginType:SSO, lastLoggedTime:null, dataSecurityGroupName:null, createUser:IAM API, createTime:2023-10-24T10:31:37Z, updateUser:IAM API, updateTime:null, customer:null, newUserName:null, defaultAccount:null, accountName:null, default:false, validRequest:true]], error:[]]"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","showResponse: null"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","successResponses key: result.statusCode, value: [6001]"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","successResponseText: 6001"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","successResponseValues: [6001]"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","createNewUser - temp.status - Failed"
"2023-10-24T10:31:37.580+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","doBreak: true"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","Response size: 1"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","Enter encryptHeaders"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","Exit encryptHeaders"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","Task Response: {"call1":{"headers":null,"message":{"traceId":"61c1371b-005a-471e-8e2d-54212780245b","result":{"status":"success","message":"All users are created successfully. ","statusCode":"6001"},"user":[{"title":null,"firstName":"xxxxx","lastName":"xxxxx","userName":"username@domain.com","phoneNumberExtension":null,"phoneNumber":null,"email":"username@domain.com","timeZone":"America/Chicago","functionalRole":"Admin - Global Admin","supervisorName":null,"securityRole":"Logistics","auditSecurityRoleType":null,"departmentName":null,"amountFormat":null,"active":true,"locked":false,"languageId":"en","location":null,"country":null,"defaultMenu":"Deductions","emailSubscription":false,"scheduledEmailsubscription":false,"dateFormat":null,"userType":"InternalUser","loginType":"SSO","lastLoggedTime":null,"dataSecurityGroupName":null,"createUser":"IAM API","createTime":"2023-10-24T10:31:37Z","updateUser":"IAM API","updateTime":null,"customer":null,"newUserName":null,"defaultAccount":null,"accountName":null,"default":false,"validRequest":true}],"error":[]},"statusCode":200,"description":null,"status":"Failed"}}"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","accountId: 61c1371b-005a-471e-8e2d-54212780245b"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","responseColsToPropsMap: null"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","accountResponseMap: null"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","taskResult: false"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","isEntitlementOnly: false"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","DEBUG","taskResult:: false"
"2023-10-24T10:31:37.592+00:00","ecm-worker","rest.RestProvisioningService","quartzScheduler_Worker-15-x8skk","ERROR","Error while creating account - username@domain.com removing tasks from the list "
[This message has been edited by moderator to mask PII info]
3 REPLIES 3

nimitdave
Saviynt Employee
Saviynt Employee

@Jyoti1 , your json is not able to read/traverse the response to get the accountid and status for completing the task. Please share a sample response with sensitive info masked.

rushikeshvartak
All-Star
All-Star

Can you share postman screenshot


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

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @Jyoti1 ,

The logs you've provided indicate that a call to create a user account in HighRadius was successful, but there are issues with creating an account in Saviynt. Let's break down the information provided:

1. **HighRadius Call (Successful):**
- A POST request is made to HighRadius to create a user account.
- The response from HighRadius indicates that the user account was created successfully with a status code of 6001.
- The user's details are included in the response.

2. **Saviynt Call (Unsuccessful):**
- There is no explicit information related to the Saviynt call in the provided logs.
- The error message at the end mentions an issue with creating an account in Saviynt and removing tasks from the list, but the specific error details or reasons are not provided in the logs.

To diagnose the issue with Saviynt account creation, you will need to look into the logs or error messages specific to the Saviynt call. The provided logs seem to focus on the HighRadius call, and there is limited information about the Saviynt call. You should check Saviynt's logs or error messages to identify the root cause of the failure.

Common reasons for failure in creating an account in Saviynt might include:

- Authorization issues: Ensure that the API credentials and permissions used for the Saviynt call are correct.
- Data validation: Check if the data being sent to Saviynt is correctly formatted and meets Saviynt's requirements.
- Server or service issues: Saviynt's service might be experiencing downtime or issues.

If you can provide more information about the specific error message or logs related to the Saviynt call, I can offer more detailed assistance in diagnosing the problem.