Symptom
You are running Odata API upserts into EC entity passing inside the payload one existing option ID according the picklist center, but the system is returning one error like sample below:
<?xml version='1.0' encoding='utf-8'?><UpsertResponses><PerEmailUpsertResponse><key>PerEmail/emailType=333,PerEmail/personIdExternal=111</key><status>ERROR</status><editStatus null="true"/><message>The given value 333 for option emailType is invalid. null Failed record info: {PerEmail/emailAddress=test@test.com, PerEmail/emailType=333, PerEmail/isPrimary=true, PerEmail/personIdExternal=111}. for Key PerEmail/emailType=333,PerEmail/personIdExternal=111 with the index 0</message><index type="Edm.Int32">0</index><httpCode type="Edm.Int32">500</httpCode><inlineResults type="Bag(SFOData.UpsertResult)"/></PerEmailUpsertResponse></UpsertResponses>
Read more...
Environment
SAP SuccessFactors HCM Suite
SAP SuccessFactors Employee Central
OData API
Product
Keywords
Odata API Upsert SAP successsfactors HCM suite Employee Central EC , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.