SCIM 2.0 Enable/disbale is not working

Hi All,

I have configured a new SCIM 2.0 application in IIQ. i am able to perform Create, Update and Delete. when i am trying to perform Enable/disable i am getting the below error.

Error while performing operation : Update Account Error code : 400 {“error”:“Bad Request”,“message”:“Cannot invoke “com.unboundid.scim2.common.Path.toString()” because the return value of “com.unboundid.scim2.common.messages.PatchOperation.getPath()” is null”,“path”:“/idp-sync/Users/[email protected]”,“status”:400,“timestamp”:“1747053649430”}

I have configured all the attributes (op = replace, path = active, value = true) in provisioning policy. and I enabled PATCH attribute as well.

<entry key="usePatch">
  <value>
    <Boolean>true</Boolean>
  </value>
</entry>

can you please someone help me on this.

hi @logesh_venki

Here are a few things to double-check that might help resolve the issue:

  1. Ensure active is defined in the application schema:

Type: Boolean

  1. Confirm usePatch is enabled in the application XML:
true
  1. Test the PATCH call manually (e.g., using Postman) to verify that the SCIM endpoint accepts the format:

{
“schemas”: [“urn:ietf:params:scim:api:messages:2.0:PatchOp”],
“Operations”: [
{
“op”: “replace”,
“path”: “active”,
“value”: true
}
]
}

Hi @haideralishaik ,

Thank you for replying .

Yes, I have defined the active attribute in schema and enabled PATCH in xml an also confirmed via postman. No luck :frowning:

Any other suggestions. :slight_smile:

one more thing, postman passes the below JSON:
{
“Operations”: [
{
“op”: “replace”,
“path”: “active”,
“value”: true
}
]
}