SAP Knowledge Base Article - Public

2792215 - Error while trying to call UserPermissions Entity "Unsupported feature: You need to query base entity and expand with Permissions navigation."

Symptom

  • You are running a query on the UserPermissions Odata entity and getting the following error:

{
"error": {
"code": "COE_UNSUPPORTED_FEATURE",
"message": {
"lang": "en-US",
"value": "[COE0025]Unsupported feature: You need to query base entity and expand with Permissions navigation."
}
}
}

Environment

  •  SuccessFactors HCM Suite

Reproducing the Issue

The issue can be reproduced by performing an API Query on the UserPermissions entity  e.g /odata/v2/UserPermissions?

Cause

This behavior is to be expected because:

  • UserPermissions entity does not support a direct API query (Supported Operations can be seen in the Odata API Data Dictionary)

Resolution


It has to bind data record and then do an 'expand' to fetch the corresponding user *

e.g - /odata/v2/User('cgrant')?$expand=userPermissionsNav

See Also

Keywords

  • COE_UNSUPPORTED_FEATURE
  • Permissions navigation
  • COE0025
  • [COE0025]
  • UserPermissions
, KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM Core all versions