cancel
Showing results for 
Search instead for 
Did you mean: 

Response was of unexpected text/html ContentType. Incoming portion of HTML stream: (none) in cpi

yashsap1
Participant
0 Kudos

Hi all,

we are replicating utilities contract account from SAP S4hana on-premise to SAP Cloud for Customer via sap cpi while in trace it showing error : Response was of unexpected text/html ContentType. Incoming portion of HTML stream: (none) .Here our flow of connection is IDOC to SOAP where IDOC is sender and soap is receiver adapter . Can anyone please suggest resolution to this error .

Thanks

OlgenH
Participant
0 Kudos

Hi Yash, normally this error happens because the SOAP adapter is not configured correctly. Can you share a screenshot of the config?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member678011
Participant
0 Kudos

Hi,

The response should be webpage and it has HTML as content type, try checking the credentials and also verify using a soap ui/postman (testing tool) by posting the same data and credentials if possible.

Regards,

Sibi

Brian_Arthern1
Discoverer
0 Kudos

Hi,

Have you checked the HTTP Response Code? Is it a 401 for example? If may be that credentials are rejected and you are being prompted with an HTML logon page.

regards

Brian