Skip to Content
0
Dec 15, 2022 at 01:14 PM

Error Code with Status 200 in CPI

348 Views

Hi all,

When I am trying to POST the data to SAP with BusinessPartner data , I am getting as below :

"ErrorCode": "200", "ErrorText": "com.sap.gateway.core.ip.component.odata.exception.ODataV2ResponseParsingException: Caused by:org.apache.olingo.odata2.api.edm.EdmSimpleTypeException: The metadata constraints '[MaxLength=3]' do not allow to format the value 'United-Kingdom'. in EntitySet A_BusinessPartnerThe metadata constraints '[MaxLength=3]' do not allow to format the value 'United-Kingdom' for property 'Country'."Getting error text with Status code 200 can be acceptable or it is bug in Odata API?I even tried to look any error codes to send to the receiver but instead of HTTP status code , I am not getting any error code in response.Please help me on this