cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI: url could not be parsed into a proper Uri, missing scheme.

tomvanrooijen
Participant
0 Kudos

Hi all,

I am having difficulty understanding this error I get from the http receiver adapter. it seems that the uri that is built consists of a concatenation of the relative request url & http receiver parameter

Http request:

http receiver:

Error I get:

As you can see it is a corrupted url. I have seen this error before on SCN but no explanation about the error.

What is going on here?

I know I can set the CamelHttpUri & url to the target url but that gives a 503 on a url that works perfectly in the browser.

Regards

Tom

Accepted Solutions (0)

Answers (2)

Answers (2)

LeonvNiekerk
Explorer
0 Kudos
Sriprasadsbhat
Active Contributor
0 Kudos

Hello Tom,

Could you try deleting all the unwanted headers before making receiver call.

https://blogs.sap.com/2018/01/18/sap-cpi-clearing-the-headers-reset-header/

Regards,

Sriprasad Shivaram Bhat