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

How to get provision error message in pending or completed task

MJ
New Contributor III
New Contributor III

there is completed task with error. btw provisioning comments did not have any error message.

MJ_0-1715089267593.png

provisioning comments

 

{"auditDetails":{"call1":[{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"},{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}]},"call1":{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}}

 

 I found the error message in the logs.

responseText:[{\"message\":\"insufficient access rights on cross-reference id\"\"errorCode\":\"INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY\"\"fields\":[]}]

It seems that the response value cannot be retrieved from Provisioning comments because the response is in square brackets.

How can I get the error messages in square brackets into provisioning comments?

6 REPLIES 6

Raghu
All-Star
All-Star

 

@MJ  try below

 

"unsuccessResponses": {
"ISGServiceFault.Message": "Error while executing service"
}

or

"unsuccessResponses": {
"message": [
"You must be an admin to add or update an organization membership.",
"Not Found"
]

 

https://forums.saviynt.com/t5/identity-governance/rest-unable-to-map-response-status-field/m-p/75451

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

MJ
New Contributor III
New Contributor III

this solution does not work.

This is something comes from code and can’t be managed by configuration. You can raise idea to improve error logging in error tasks


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

MJ
New Contributor III
New Contributor III

okay thanks!

Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


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

rushikeshvartak
All-Star
All-Star
  • Connector Service Account does not have required privileges.
  • Does it works from postman ?
  • Please share postman and Create Account JSON 

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