SAP Knowledge Base Article - Public

2485637 - "You do not have permission to access the form data" error when running OData APIs for PM or 360 - Performance Management

Symptom

When running any of the Performance Form or 360 Multirater OData API entities, you get the following result:

{

"error": {
 "code": "COE_GENERAL_BAD_REQUEST",
 "message": {
     "lang": "en-US",
     "value": "You do not have permission to access the form data" 
  }
}

}

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

Environment

  • SAP SuccessFactors Performance Management
  • SAP SuccessFactors 360 Multi Rater
  • SAP SuccessFactors HXM Suite

Reproducing the Issue

In this example, we're running a FormCompetency OData API URI when we get the result:

OData API error.jpg

Cause

The credentials used has insufficient RBP permissions to access OData API form entities

Resolution

  1. Go to Admin Center > Set User Permissions > View User Permissions and find out what roles are granted to the affected user. Complete instructions can be found on KBA 2088818.
  2. Go back to Admin Center
  3. Click Set User Permissions > Manage Permission Roles
  4. Search for the role of the affected user; click Action > Edit
  5. Click on Permission...
  6. Select Administrator Permissions > Manage Documents
  7. Put a check mark on Admin Access to Forms OData API

    Forms OData API RBP.PNG
    Note:   this permission requires a defined target. Please ensure that the forms you will be accessing via OData API Performance or Multirater entities are part of this role's target population.
  8. Click Done, and then Save
  9. Go to back to Admin Center
  10. Select Company Settings > OData API Metadata Refresh & Export
  11. Click the Refresh button
  12. Once refresh of the Metadata cache has completed, please test your API URI again.

Note:Admin Access to Forms OData API might be restricted by the specific form template permissions.
For example:If a section was set to hide to all steps and all users, admin will be included in all roles and has no permission.
As a workaround, in hidden permission, please use 'Selected (All selected)' instead of All.
Manage templates- section permission.jpg

See Also

Keywords

you do not have permission, data, OData, API, form, PM, 360, performance management, multi rater, mtr, RBP , KBA , csg_q , LOD-SF-PM-API , Webservices, OData APIs , LOD-SF-MTR-REP , Reporting & Analytics, Data Imports & Exports , Problem

Product

SAP SuccessFactors Performance & Goals all versions