Retrieving Role Members Using the REST API Fails with: oracle.iam.platform.entitymgr.ProviderException and HTTP error 500
(Doc ID 2517246.1)
Last updated on NOVEMBER 01, 2022
Applies to:
Identity Manager - Version 12.2.1.3.0 and laterInformation in this document applies to any platform.
Symptoms
In OIM we have a role ChildRole that inherits from role ParentRole
If we assign role ChildRole to user, the user will indirectly inherit the parent role ParentRole
If we want to use the REST API to retrieve the members of role ParentRole we will run the following REST call
GET http://OIM_HOST:OIM_PORT/iam/governance/selfservice/api/v1/roles/{role id}/members
and the output return will be the following error:
{
"title": "oracle.iam.platform.entitymgr.ProviderException",
"status": 500,
"detail": "oracle.iam.platform.entitymgr.ProviderException",
"instance": "oracle.iam.identity.exception.NoSuchRoleGrantException",
"referer": "http://OIM_HOST:OIM_PORT/iam/governance/selfservice/api/v1/roles/47/members"
}
"title": "oracle.iam.platform.entitymgr.ProviderException",
"status": 500,
"detail": "oracle.iam.platform.entitymgr.ProviderException",
"instance": "oracle.iam.identity.exception.NoSuchRoleGrantException",
"referer": "http://OIM_HOST:OIM_PORT/iam/governance/selfservice/api/v1/roles/47/members"
}
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |