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:
Cause
The credentials used has insufficient RBP permissions to access OData API form entities
Resolution
- 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.
- Go back to Admin Center
- Click Set User Permissions > Manage Permission Roles
- Search for the role of the affected user; click Action > Edit
- Click on Permission...
- Select Administrator Permissions > Manage Documents
- Put a check mark on Admin Access to Forms OData API
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. - Click Done, and then Save
- Go to back to Admin Center
- Select Company Settings > OData API Metadata Refresh & Export
- Click the Refresh button
- 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.
See Also
- SAP SuccessFactors HXM Suite OData API: Reference Guide (V2)
- KBA 2088818 - How to View Permissions Assigned to Users Via RBP
- KBA 2531388 - Getting started with OData API for PM and 360 Multi Rater forms
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