SAP Knowledge Base Article - Preview

2868631 - SF Odata API Error - COE0019 cannot convert property <customfield> value to odata4j property value.expected type is :decimal, but given type is: java.lang.String value (SFOData.JobApplication)

Symptom

1. When running Integration Center Outbound Report for JobApplication with CustomField, below erros is shown in Preview or Event Log.

  IC_1 - Copy.jpg

2. When doing API Query for SFOData.JobApplication , the query fails with below API response.

  • Request Query : https://<apiurl/endpoint>/odata/v2/JobApplication?$filter=applicationId eq XXX&$top=10&$format=json
  • Response Payload

{
"error" : {
"code" : "COE_GENERAL_SERVER_FAILURE", "message" : {
"lang" : "en-US", "value" : "[COE0019]<username>@<companyId>: cannot convert property JobApplication.<customfield> value to odata4j property value.expected type is :decimal, but given type is: java.lang.String value: <numeric value>"
}
}
}

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


Read more...

Environment

Successfactors HXM Suite

Product

SAP SuccessFactors HXM Core all versions

Keywords

COE_GENERAL_SERVER_FAILURE, COE0019, cannot convert property XX value to odata4j property value.expected type is :decimal, but given type is: java.lang.String value, SFOData.JobApplication, Map Custom Fields to Extended Fields for Reporting, Configure Reportable Custom Fields , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , LOD-SF-INT-INC , Integration Center , Problem

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.