Create operation failed for webservice connector

Message: 400 : Bad Request : {“schemas”:[“urn:ietf:params:scim:api:messages:2.0:Error”],“scimType”:“invalidValue”,“detail”:“Required attribute userName is missing in the SCIM Object.”,“status”:“400”}, HTTP Error Code: 400

Getting this error even when userName is in the create policy and we’re passing it as $plan.userName$ in the create body. Also added a before operation rule to print plan and it is printing the userName.

Please advise if you have any thoughts or faced same error before and guide steps for correction.

Any help is appreciated :slight_smile:

Just as a thought, is userName an identity.attribute?
Can you post a screenshot if it here to eliminate that possibility?

Thanks

It’s basically the user email which is configured as userName in create policy, however even when i use $plan.email$ instead of $plan.userName$ it still fails.

Thanks for the response

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.