You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following error response was received for this request
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"scimType": "Error while resolving the group name for the given group Ids in the tenantDomain: carbon.super",
"detail": "Request is unparsable, syntactically incorrect, or violates schema.",
"status": "400"
}
above group testGroup is an existing group in the IS. According to the implementation [1], this operation only supports resolving the group by group ID from the value in the request. eg:
So when the group display name is sent in the request, a proper error messege should be displayed that describes the issue correctly. Also, scimType should not contain the error description and according to the spec [2] should contain one of the given values
Describe the issue:
Following patch request was sent to remove a group assigned to a specific role
Following error response was received for this request
above group
testGroup
is an existing group in the IS. According to the implementation [1], this operation only supports resolving the group by group ID from thevalue
in the request. eg:So when the group display name is sent in the request, a proper error messege should be displayed that describes the issue correctly. Also,
scimType
should not contain the error description and according to the spec [2] should contain one of the given values[1] - https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/blob/master/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMRoleManagerV2.java#L1219
[2] - https://datatracker.ietf.org/doc/html/rfc7644#:~:text=Table%209%3A%20SCIM%20Detail%20Error%20Keyword%20Values
How to reproduce:
Try to remove a group assigned to a role with the above patch request
Expected behavior:
More descriptive error messege should be disaplayed and should be in the format specified in the specification.
Environment information :
The text was updated successfully, but these errors were encountered: