In OIC REST Adapter Trigger Returns "Error 415--Unsupported Media Type"
(Doc ID 2515837.1)
Last updated on JANUARY 18, 2021
Applies to:Integration Cloud Service - Version 16.4.1 and later
Information in this document applies to any platform.
Technology Adapters ( SOAP, REST, FTP, File, DB, AQ etc)
In OIC REST Adapter trigger returns "Error 415--Unsupported Media Type"
Using PostMan client and cURL client the service keeps returning "Error 415--Unsupported Media Type".
The service Request is supposed to accept content-type of "application/x-www-form-urlencoded" (partner that will be calling this can only call it with this content-type). And the Response is supposed to be content-type "application/xml".
REST Adapter does not seem to allow us to Request content-type of "application/x-www-form-urlencoded" it insists on "application/x-www-form-urlencoded+json".
Is this why the 415 error ?
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