SAP Knowledge Base Article - Public

2993786 - Error when sending "NO_HR" value in "hr" field on User Upsert - OData API


You are facing errors while sending the "NO_HR" value in "hr" field in an Upsert on User entity. The error message is:

"Please add required properties in payload. Required property status is missing. You can check which properties are required for an entity in Admin Center > OData API Data Dictionary or the entity metadata. with the index 0".

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


  • SAP SuccessFactors HXM Suite
    • OData API


Please confirm if your API request payload is following the structure below:

    "__metadata": {
        "uri": "User('Example')",
        "type": "SFOData.User"
    "userId": "Example",
    "username": "Example",
    "status": "t",
    "firstName": "Firstname",
    "lastName": "Lastname",
    "hr": {
          "__metadata": {
            "type": "SFOData.User",
            "uri": "User('NO_HR')"

If your API payload structure is different than the example above, please correct it.

If you send a different structure in "hr" inline operation, then the API will understand that you are actually trying to change the data of the HR user too, hence the error would occur.

See Also

Examples of Upserts using inline operations in User entity are shown in this guide page: Creating and Updating User Relations.


inline, navigation, operation, api, odata, user, Please add required properties in payload, Required properties are missing, property, mandatory, no_hr, NO_HR, hr, manager, matrix manager, payload, request, structure, sf, successfactors , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem


SAP SuccessFactors HXM Suite all versions