SAP Cloud Platform Integration -Error: The XML is malformed.

We were facing the below error in one of our standard IFlow Configuration i.e. Cost Center Replication.

com.sap.gateway.core.ip.component.odata.exception.OsciException: Request Payload: Either the OData metadata content available in the server is outdated or the request payload seems to be incorrect = https://<Base_URL>.com/odata/v2 with error => The XML is malformed

It may occurs because of the below two reasons:

Configuration Issue.

Structure is not compatible.

let me explain you in brief that what you need to remember to avoid this error.

Configuration Issue.

In Receiver side, Address parameter is recommended to configure only with base URL , rather than a complete path till https//<Base_URL>/odata/v2. because it will take by default Odata API,so we do not need to configure whole path.