SAP Knowledge Base Article - Preview

3287986 - "Left hand expression of memberaccess operator has wrong cardinality (to many not allowed)" Error on Odata Adapter in Cloud Integration

Symptom

  • You are using the Odata adapter in Cloud Integration to query in S4HANA where API call looks like below structure:

https://myXXX-api.s4hana.cloud.sap/sap/opu/odata/sap/XXXX (XXX%24',YYY%24',ZZZ'%24',VVV'2022-12-14T00:00:00')/Results?$select= ...,&$filter=xxx eq 'AAA'&$format=json

  • When the IFlow is deployed, the message fails with the error:

com.sap.gateway.core.ip.component.odata.exception.OsciException: Bad Request : 400 : HTTP/1.1

  • Check the Odata Adapter Response Body and the error seen is:

<?xml version="1.0" encoding="utf-8"?><error xmlns="http://xxx"><code>yyy</code><message xml:lang="en">Left hand expression of memberaccess operator has wrong cardinality (to many not allowed)</message></error>


Read more...

Environment

SAP Integration Suite 1.0
Cloud Integration

Product

Cloud Integration all versions ; SAP Integration Suite 1.0

Keywords

Odata adapter, error, CPI, IFlow, HTTP adapter, query, API, filter, response body , KBA , LOD-HCI-PI-CON-OD , OData Adapters , Known Error

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.