and more in a single search tool across platforms. Read the announcement here. |
12/13/2023 06:01 PM - last edited on 12/13/2023 08:14 PM by Sunil
Team - We have been working with the ServiceNow team to deply the Saviynt App for ServiceNow. We are able to generate standard request but when we utilize the 'Request Enterprise Role' feature, we are getting a 500 error with {"msg":"An unexpected error occured","errorCode":"1","requests":[]} in the response of the ServiceNow Outbound logs. Additional details are below:
URL: https://removed.saviyntcloud.com/ECM/api/v5/createrequest
Payload: {"accesstype":"ROLES","username":"sfingar","roletype":"ENTERPRISE","requesttype":1,"roles":[{"rolename":"10657","businessJustification":"ServiceNow: REQ0151035 - RITM0175809 - Created by ServiceNow App"}],"requestor":"205136","requestcomments":""}
Screenshots from ServiceNow:
Note: I tried the same API from postman and got the same response.
I have attempted removed the OAuth configuration, which was suggested in another forums item, but that did not resolve the issue. Let me know if any of you have seen this behavior before and how you resolved.
Thanks!
[This message has been edited by moderator to mask URL]
12/13/2023 06:40 PM
Does role name exists ?
12/20/2023 11:02 AM
The role does exist and the payload is the same as what is documented.
12/20/2023 11:11 AM
Check logs
01/03/2024 11:24 AM
Here you go! These are the Saviynt Logs:
Here is the ServiceNow Request:
Here is the response in ServiceNow:
Let me know if you can help with this.
01/03/2024 12:27 PM
This has been resolved. I removed the OAUTH Setting configuration and allowed the Sav role to access All endpoints and it was resolved.
Can you explain why the OAUTH Settings configuration impacts this?
Thanks!
Connor
01/03/2024 07:08 PM
Removing the OAUTH Setting configuration was solution for another forum post also unable to find link