My Oracle Support Banner

Rest Reference Payload Type Mismatch - "JSON" ---> [text/plain] (Doc ID 2797896.1)

Last updated on MAY 15, 2023

Applies to:

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

Symptoms

While using SOA/BPEL in FMW, experiencing the following error with REST adapter to call REST endpoint ( Microsoft Graph API to upload text/xlsx file)


Steps to reproduce :

1. Create REST Adapter in external reference side of BPEL
2. PUT method with payload 'Text' check box selected
3. In BPEL create invoke activity to call REST reference
4. Create i/p and o/p variables as below
5. Assign Variable2 = "This is my text"

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
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.