Discontinued tasks with "USERNAME IS NOT ASSOCIATED WITH ACCOUNTNAME" error

adriencosson
Regular Contributor III
Regular Contributor III

Hi folks,

For some applications connected with REST connector, WSRetryJob is running and tasks are getting completed with appropriate result on the target, but the task itself in Saviynt is getting discontinued with the error message : "USERNAME IS NOT ASSOCIATED WITH ACCOUNTNAME" error.

Has anyone encounter this and knows how it can be fixed ?

Regards,
Adrien COSSON
4 REPLIES 4

SB
Saviynt Employee
Saviynt Employee

Can you share the logs for 1 task. 


Regards,
Sahil

Sampritha_r
Saviynt Employee
Saviynt Employee

Hello @adriencosson 

Kindly share CreateAccountJson and this API response. 

 

rushikeshvartak
All-Star
All-Star

Does account is orphan account 


Regards,
Rushikesh Vartak
If the response is helpful, please click Accept As Solution and kudos it.

adriencosson
Regular Contributor III
Regular Contributor III

Hi @rushikeshvartak@Sampritha_r@SB.

We found out that the issue was related to the response from API.

Indeed, when the target application does not send the accountID, we wanted to use the "accountName" in accountIdPath.

However, if the API sends a response (instead of null), this cannot be use.

The solution is either to : 

  • Have a Null response from the target and therefore "accountIdPath":"accountName" works.
  • Add a 2nd API call to get the accountID from the target application.
Regards,
Adrien COSSON