SAP Knowledge Base Article - Public

2576271 - OData GET request client URL size limitation: 2 KB


Status: Bad Request Status Code: 400 Query: /odata/v2/XXXX?

Reproducing the Issue

Run a GET request with  2048 or more characters against the OData API


Although OData itself does not set limitation regarding the length of a GET request being executed against the API, most clients have a limit to the length of the URL that can be passed to the server for example:

Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,048 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.


OData request that exceed 2,047 characters will fail due to client limitations. Reduce the size of the query URL to less than 2KB.


400 error code, GET request, maximum length, too long, OData, API , KBA , LOD-SF-INT-ODATA , OData API Framework , OPU-GW-COR , Framework , Problem


SAP SuccessFactors HCM Core 1711