SAP Knowledge Base Article - Preview

3369586 - Content-Type is not sent as a header parameter using HTTP receiver adapter with GET/DELETE/HEAD methods in Cloud Integration

Symptom

You have configured an iflow, either with content modifier or groovy script to set the Header parameter to the desired value, as you would like to include it in your request.
The call fails with similar error like the one below.

"<?xml version="1.0" encoding="UTF-8" standalone="yes"?><apiError><httpStatusCode>415</httpStatusCode><httpMessage>Unsupported Media Type</httpMessage><errorMessage>Unsupported content type: null -- Supported content types: application/json, application/xml</errorMessage><supportReferenceId>xy</supportReferenceId></apiError> "


Read more...

Environment

SAP Cloud Integration
SAP Integration Suite

Product

SAP Integration Suite 1.0

Keywords

HCI, CPI, CI, Cloud Integration, HTTP receiver adapter, GET, DELETE, HEAD, 415, Unsupported Media Type, Content-Type, header, Send Body , KBA , LOD-HCI-PI-CON-HTP , HTTP Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.