SAP Knowledge Base Article - Preview

3481607 - OData API error when deleting record - "java.lang.String cannot be cast to class java.math.BigDecimal"

Symptom

You would like to delete a record from an entity (such as TodoEntryV2), and use below API URL for DELETE operation.

e.g. DELETE  https://api68sales.successfactors.com/odata/v2/TodoEntryV2('123') 

But the API request failed with below 500 error:

  • class java.lang.String cannot be cast to class java.math.BigDecimal (java.lang.String and java.math.BigDecimal are in module java.base of loader 'bootstrap')


Read more...

Environment

SAP SuccessFactors HCM

  • OData API

Product

SAP SuccessFactors HCM Core 2405

Keywords

SF, Success Factors, 500 Internal Server Error, ServerErrorException, remove , KBA , LOD-SF-INT-ODATA , OData API Framework , 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.