HTTP 400 / OData key
Invalid key predicate in OData request
Gateway returns HTTP 400 because the entity key in the OData URL is missing, malformed, incorrectly typed or incomplete.
Likely root causes
- Key names or order do not match the service metadata.
- String/date/GUID key values are formatted incorrectly.
- A composite key is missing one or more required properties.
What to inspect
- $metadata key definition for the entity type.
- Actual request URI and URL encoding.
- Key data types and all composite-key fields.
- /IWFND/ERROR_LOG or /IWFND/GW_CLIENT response details.
Resolution path
- Build the key predicate exactly from the metadata contract.
- Quote/encode values according to their OData types.
- Include every required composite-key field.
- Retest the corrected URI directly in Gateway.
ERPClimb is an independent platform and is not affiliated with SAP SE.