Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

/createrequest API is failing with 500 Internal server error when trying to remove a role from user.

Anurag
Regular Contributor
Regular Contributor
Hi Team,
 
When we are trying to provision/remove a role from user by using "/createrequest" API, we are getting an error message as "An unexpected error occured" with 500 status code. 
  
API Name : {{url}}/ECM/{{path}}/createrequest
 screenshot.png
 
 
 
 
I can see below lines from application logs pointing to Null pointer exception.
 
2023-03-06 05:24:38,707 [https-jsse-nio-443-exec-423] DEBUG ws.Restfulv5Controller - Default max limit is set to 50
2023-03-06 05:24:38,708 [https-jsse-nio-443-exec-423] DEBUG ws.Restfulv5Controller - Enter createrequest
2023-03-06 05:24:38,708 [https-jsse-nio-443-exec-423] DEBUG ws.Restfulv5Controller - Processing Roles createrequest
2023-03-06 05:24:38,711 [https-jsse-nio-443-exec-423] ERROR auth.OauthProviderService - Error...
java.lang.NullPointerException
2023-03-06 05:24:38,713 [https-jsse-nio-443-exec-423] ERROR ws.Restfulv5Controller - Error...
java.lang.NullPointerException
2023-03-06 05:24:38,713 [https-jsse-nio-443-exec-423] DEBUG ws.Restfulv5Controller - Processing Roles createrequest completed
 
Please let us know if you have any input on this.
 
Thanks
 
Who Me Too'd this topic