SAP Knowledge Base Article - Preview

2691670 - ODATA API: Searching Special Characters

Symptom

This document has been created to outline the standardized methods of filtering OData API output based values that contain special characters.

You perform Odata API Request and are performing $filter= operation on a field in which the value contains special characters:

Example Response (JSON):

Result:

{

    "error": {

        "code": "ServerErrorException",

        "message": {

            "lang": "en-US",

            "value": "String index out of range: 68"

        }

    }

}

Example Response (XML):

<error>
      <code>ServerErrorException</code>
      <message>
            <lang>en-US</lang>
            <value>String index out of range: 68</value>
      </message>
</error>


Read more...

Environment

  • SuccessFactors BizX
  • OData API

Product

SAP SuccessFactors HCM Core all versions

Keywords

  • Special Characters, OData, API, Request, Query, #, &, Apostrophe
, KBA , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , 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.