Click HERE to see how Saviynt Intelligence is transforming the industry. |
12/14/2023 08:23 AM
Hi Team,
We are using the below API to create the user request but we are getting the below response and the below mentioned error.
Same API and paramters are working fine in 5.5.Sp.18 but in 23.9 version it is not working .
We also used V5 in Api but still no luck. Same data is working for the createUser API but not for createUserRequest API
Error in the logs :
groovy.lang.MissingMethodException: No signature of method: com.saviynt.ecm.services.changeaction.UserChangeActionService.createRequest() is applicable for argument types: (java.util.HashMap, null, java.lang.Boolean, com.saviynt.ecm.identitywarehouse.domain.Users, null) values: [[owner:24335909, country:India, firstname:Raja, ...], ...]
We have configured the workflow under user modifcation workflow in Global config and tried by making the approval as auto approve but still same error.
Can you please help what else missing?
12/14/2023 07:42 PM
content type should be form data not raw - text
12/14/2023 07:45 PM
Please use the following content type:
It looks like you are passing a JSON - but the Content Type is not defined as JSON.
Content-Type:application/json
12/14/2023 07:49 PM
On API documentation shows form data
12/14/2023 08:01 PM
Hi @rushikeshvartak Even with Form Data also same error.
In 5.53.18 version both ways(form data and raw text is working fine perfectly.
In 23.9 createUser Api is working fine but CreateUserrequest API is not working.
@Rajesh-R yes if we are passing JSON then in headers we are passing the content type as application/json. If it is text , content type is text/plain.
12/14/2023 08:15 PM
Can you share attributes configured in global config
12/14/2023 08:41 PM
12/14/2023 09:01 PM
Please pass all above parameters which are required and visible on create user form
12/20/2023 08:06 AM
12/20/2023 10:21 AM
Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
12/20/2023 10:44 AM
12/20/2023 10:57 AM - edited 12/20/2023 10:59 AM
Remove email field as per your error and try
I hope you dont have any regex validation over email