1935691 - Error: Unsupported Content Type is received

SAP Knowledge Base Article - Public

1935691 - Error: Unsupported Content Type is received

Symptom

You have encountered the error Unsupported Media Type with details Unsupported Content Type is received while doing a call using communication arrangement Employee Replication from External System.

Reproducing the Issue

  1. Application and User Management work center.
  2. Business Communication Monitoring view.
  3. Select Rejected Web Service Calls in the drop-down list.
  4. Details of the error:
    Status: Technical Error
    Direction: Incoming
    Error Description: Unsupported Media Type / Unsupported Content Type is received
    Sent By: Web Service
    Service Interface: Employee Master Data Replication In

Cause

The error Unsupported Content Type is received is received because in the Web Service request on the customer’s side, no Content-Type into HTTP header has been set. For correct request processing a valid Content-Type should be set.

Resolution

The most typical Content-Types are:

  • SOAP 1.1: Content-Type: text/xml; charset=utf-8
  • SOAP 1.2: Content-Type: application/soap+xml; charset=utf-8

Keywords

KBA , SRD-CC , Cross Components , BC-ESI-WS-ABA , Web Service and SOAP - ABAP , How To

Product

SAP Cloud for Travel and Expense 1308