cancel
Showing results for 
Search instead for 
Did you mean: 

Error while connecting from REST Receiver to an API

babruvahana
Contributor
0 Kudos

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 <local> 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.... not successful. Internal Server Error"

Please help to resolve this issue.

P.S: Our SAP PI version is 7.4

Regards,

Pavan

Accepted Solutions (0)

Answers (1)

Answers (1)

vicky20691
Active Contributor
0 Kudos

Hi,

Please follow sap note - 2365727

Enable support attachment as u can't POST files directly.

Regards,

Vikas Singh