Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.
Please consider addressing the following when creating your topic:
- What have you tried?
Hi everyone, I’m using a web services connector on Identity Now. I’m trying to update an account by assigning a role with an entitlement from the request center.
- What errors did you face (share screenshots)?
The request failed with warning “ Contact Helpdesk” , but I get the following error:Error: Incomplete items. Please contact your administrator.
Provisioning
Exception while updating account.Url: https://BASE_URL/User/SaveUser, Message: 400 : Bad Request : { “requestStatus”: “KO”, “error”: { “errorCode”: 400, “errorMessage”: “required_field\nrequired_field” } }, HTTP Error Code: 400
- Share the details of your efforts (code / search query, workflow json etc.)?
We are using a “WebServiceBeforeOperationRule”:
In this rule, we’re only testing the assignment of a group entitlement, so we’re setting the roles entitlement field to an empty array. When we resolve this error, we’ll change the code to dynamically handle the two assignments.
The HTTP operation are:
In particular, for the operations of create account, update account, add and remove entitlement using the same API which is configured as follows:
and the body is:
{
“userId”: “$plan.nativeIdentity$”,
“firstName”: “$plan.firstName$”,
“lastName”: “$plan.lastName$”,
“email”: “$plan.email$”,
“groupId”: “$plan.groupId$”,
“login”: “$plan.login$”,
“central”: “$plan.central$”,
“roles”: “$plan.roles$”
}
- What is the result you are getting and what were you expecting?
I’d like to assign access to an existing account. Currently, I’m getting a “required_field” error because I believe the Save User API needs all the fields in the body to update the groupId field for the entitlement I’m assigning. How can I retrieve the information needed to run that API? The plan only provides the native identity and the name of the entitlement I want to assign.
Thanks in advance,
Noemi




