Multiple Add Entitlement http operation

Hi All,

We are using a webservice connector and is utilizing two add entitlement operations. One is for adding/modifying a role and the other one is for adding the user to a group.
I have confirmed that each of those is working on its own. However, when I do an access request to modify a role, the Add Entitlement operation for adding a user to a group was also getting called and displaying an error:

Message: 405 : {“error”:{“summary”:“Method Not Allowed”,“detail”:“The HTTP method ‘POST’ is not supported for the given resource”,“code”:“405000”}}, HTTP Error Code: 405

Similar thing happens when I do an access request for adding a user to a group. The Add Entitlement for adding/modifying a site role is getting called as is also displaying an error.

How can I configure it in a way that only one of the Add Entitlement operation is getting called (depending if the user needs to add/modify a role or if a user needs to be added to a group) when I perform an access request? I want to configure it this way to prevent the encountering the error for each of the Add Entitlement operation.

Hi @jasmedina , Two methods are called only when tried to add both role and group. Otherwise, if you just request only role then [Add Entitlement - role] is invoked and vice-versa. Please check your plan as it should only include the requested item or items depends one or multiple is requested.

It looks like you havent configured one of the API calls correctly.

Looks like you have it set to POST but maybe it should be PUT?

Double-check what you have in ISC Console versus what you have in Postman (or where ever you have tested the API calls from)

1 Like

Hi Jason,

The configuration for the API call in ISC and Postman is the same. Tried the call in Postman and it was working fine.

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