Symptom
OData Upsert request for an entity " FormBehaviorRatingComment" is failing with below error message:
upsert failed: You do not have permission to save the form data for Key FormBehaviorRatingComment/behaviorId=2785,FormBehaviorRatingComment/formContentId=7551,FormBehaviorRatingComment/formDataId=3218,FormBehaviorRatingComment/itemId=2433,FormBehaviorRatingComment/ratingType=official,FormBehaviorRatingComment/sectIndex=0,FormBehaviorRatingComment/userId=admin4 with the index 0"
Environment
- SAP SuccessFactors Goal Management
- SAP SuccessFactors HXM Suite OData API
Reproducing the Issue
Upsert request against entity " FormBehaviorRatingComment"
Cause
Users who have "Admin access to OData API" permission can access all the forms which are not in their folders, but they cannot edit it. Edit action is permitted only for the forms which are in users inbox. Admin save action is not supported now.
Resolution
This is expected API behavior.
Keywords
FormUserRatingComment, API, permission, Key, error message, you do not have permission to save the form data for key, Odata entity, formUserRatingComment , KBA , csg_q , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-GM-API , Webservices, OData APIs , Problem