SAP Knowledge Base Article - Preview

2295394 - Getting a '400 Bad Request' error message for an Odata API call when used inside the Java code

Symptom

While querying the Odata API Entity inside a Java(custom) code, receiving '400 Bad Request' error message in response.

The query is a simple one like below:

odata/v2/<EntityName>?$filt​er=<field1> eq %27<value1>%27 and <field2> ne %27<value2>%27


Read more...

Environment

Successfactors BizX

Product

SAP SuccessFactors HCM Suite all versions

Keywords

400 Bad Request Odata query failing in Java code , KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT , Integrations , 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.