Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/18/2022 12:17 AM
Hi,
we are trying to request emergency access role via createrequest API but we are getting 500 Internal Server Error . Any one using this api to request Emergency access roles and succeeded. Below is the request body. Below request body is same as defined in the api documentation API Document
10/18/2022 04:53 AM - edited 10/18/2022 04:54 AM
Can you provide screenshot from Postman & logs when you hit Send from postman
10/19/2022 12:31 AM - edited 10/19/2022 01:37 AM
Hi Rushi,
Attached postman screenshots and below is the only log getting generated
2022-10-19 08:34:14,540 [https-jsse-nio-443-exec-58] DEBUG rest.JwtService - Parsed an HMAC signed JWT
2022-10-19 08:34:14,541 [https-jsse-nio-443-exec-58] DEBUG rest.JwtService - Parsed an HMAC signed JWT
2022-10-19 08:34:14,544 [https-jsse-nio-443-exec-58] DEBUG println.PrintlnToLogger - Println :: CAME HERE FOR CSRF_TOKEN SESSION
2022-10-19 08:34:14,587 [https-jsse-nio-443-exec-58] DEBUG ws.Restfulv5Controller - Default max limit is set to 50
2022-10-19 08:34:14,587 [https-jsse-nio-443-exec-58] DEBUG ws.Restfulv5Controller - Enter createrequest
2022-10-19 08:34:14,587 [https-jsse-nio-443-exec-58] DEBUG ws.Restfulv5Controller - Processing Roles createrequest
2022-10-19 08:34:14,589 [https-jsse-nio-443-exec-58] ERROR auth.OauthProviderService - Error...
java.lang.NullPointerException
2022-10-19 08:34:14,589 [https-jsse-nio-443-exec-58] ERROR ws.Restfulv5Controller - Error...
java.lang.NullPointerException
2022-10-19 08:34:14,590 [https-jsse-nio-443-exec-58] DEBUG ws.Restfulv5Controller - Processing Roles createrequest completed
10/19/2022 05:09 AM
hi Vamsi ,
The payload looks fine.
Can you check if you are providing the role name and not the role display name instead?
Is the role status Active?
Also, is the Role marked as Requestable =true ?
is the Role Modification Workflow mapped?
If these are correct and still face the issue , please reach out to Saviynt Support via FD ticket.
10/19/2022 05:37 AM
Hi Kriti,
Every thing is in place , just double validated all the points above role is active, requestable is true, workflow mapped but still getting error.