SAP Knowledge Base Article - Public

2994898 - Unable to create or update User record for external users - SAP SuccessFactors HXM Suite: OData API

Symptom

  • You're trying to upsert or insert a record to the 'User' entity via OData API to create or edit an external learning and/or onboarding user;
  • The following error is returned:
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
        <code>COE_GENERAL_SERVER_FAILURE</code>
        <message lang="en-US">[COE0019]Invalid property value. Property name:status. Property value:e.
     with the index 0</message>
    </error>

Environment

  • SAP SuccessFactors HXM Suite
    • OData API

Cause

  • It is not possible to create or edit external users through the User entity. You must use the ExternalUser entity for that purpose, as mentioned in the following note taken from this page of the SuccessFactors OData reference guide:
  • You can't use this API to create or edit external users (status e and d). To create or edit external users, use ExternalUser or ExternalLearner.

Resolution

Perform the insert or upsert using the ExternalUser or ExternaLearner entity:

Keywords

learner, onboarding, new, not able to, failed, failure, request, error, import, failing, request , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-LMS , Learning Management System , LOD-SF-OBD , Onboarding , Problem

Product

SAP SuccessFactors HXM Suite all versions