My Oracle Support Banner

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 and later
Information in this document applies to any platform.


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"



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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.