My Oracle Support Banner

"java.lang.RuntimeException: Unknown media type : text/plain; charset=utf-8" exception when invoking a REST service from SOA Suite 12.1.3 (Doc ID 2074332.1)

Last updated on JANUARY 30, 2023

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.


On : version, BPEL Service Engine

While invoking external REST service, call fails with the below error.

java.lang.RuntimeException: Unknown media type : text/plain; charset=utf-8
  at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(
  at oracle.integration.platform.blocks.mesh.MessageRouter.request(
  at oracle.integration.platform.blocks.mesh.MeshImpl.request(
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
  at java.lang.reflect.Method.invoke(
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(


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

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