My Oracle Support Banner

HTTP Content-Type Custom Header Value Is Getting Overwritten By REST Business Service (Doc ID 2951584.1)

Last updated on MAY 31, 2023

Applies to:

Oracle Service Bus - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

We are calling an external API which requires to pass an custom Content-Type header. We are using REST adapter to call the external API and passing the custom Content-Type value in pipeline while calling the REST business service. But while testing, we are getting http 415 error code which says Unsupported Media type. When we checked the flow trace of pipeline, we found that the Content-Type value is getting overwritten by business service.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.