Skip to Content
0
Jul 19, 2019 at 07:01 AM

Error while connecting from REST Receiver to an API

163 Views

Hi Experts,

I am having File to API pass-thru scenario, where PI has to pick the .csv file from SAP AL11 path and has to post it to an API. No transformation required, hence no mapping. I am using REST receiver adapter with basic authentication. The certificates have been installed and firewall has been opened.

The .csv file is getting picked from AL11 path, its failing while posting it to API with the below error:

"Transmitting the message to endpoint using connection File_http:// sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP POST call to https://************************/default/portal/api/datasources/UpdateGridDataSource/Materials/Test.csv not successful. Internal Server Error"

Please help to resolve this issue.

P.S: Our SAP PI version is 7.4

Regards,

Pavan