Symptom
Error message 'Property backgroundElementId is not insertable' is displayed after sending a POST request for the Background_XXX entity
"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 HXM Core
- Background Odata entity
Reproducing the Issue
The POST request example is: /odata/v2/Background_TotalRewardStatement, and the payload for this request includes a line with the key-value pair "backgroundElementId": "0".
Error Message in Response: [COE0030]Property backgroundElementId is not insertable. Please check the property setting in Admin Center
Resolution
1. To successfully POST this request using /odata/v2/Background_TotalRewardStatement, the line "backgroundElementId": "0" needs to be removed.
2. If you want to include the line "backgroundElementId": "0", please modify the API request URL to /odata/v2/upsert.
3. It is not possible to POST just one record.
For additional information, please refer to the details below:
Keywords
Background_TotalRewardStatement, upsert, POST, [COE0030]Property backgroundElementId is not insertable. Please check the property setting in Admin Center , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , Problem
Product
Attachments
Pasted image.png |