Symptom
- SuccessFactors OData V2 Upsert operation fails due to the following error:
Caused by:org.apache.olingo.odata2.api.edm.EdmSimpleTypeException: The metadata do not allow a null value. in EntitySet <entityName>. The metadata do not allow a null value for property <propertyName> - SuccessFactors OData V2 Upsert operation fails due to encoded key property in the request payload as shown below.
Note that the '@' is encoded in the <id> and <link> tags of the request payload generated from SuccessFactors OData V2 adapter.
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://localhost:49675/odata/v2/">
<id>http://localhost:49675/odata/v2/User</id>
<title type="text">User</title>
<updated>2022-02-02T10:59:58.063+05:30</updated>
<author>
<name/>
</author>
<link href="User" rel="self" title="User"/>
<entry>
<id>http://localhost:49675/odata/v2/User('tony%40marvel.com')</id>
<title type="text">User</title>
<updated>2022-02-02T10:59:58.092+05:30</updated>
<category term="SFOData.User" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="User('tony%40marvel.com')" rel="edit" title="User"/>
<content type="application/xml">
<m:properties>
<d:status>active</d:status>
<d:userId>tony@marvel.com</d:userId>
<d:username>tony@marvel.com</d:username>
</m:properties>
</content>
</entry>
</feed>
Read more...
Environment
SAP Integration Suite, SAP Cloud Integration
Product
Cloud Integration all versions ; SAP Integration Suite all versions
Keywords
Integration Suite, SAP Cloud Integration, SuccessFactors OData V2 receiver adapter, Upsert operation
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.
SAP Knowledge Base Article - Preview