My Oracle Support Banner

E-IB: How to Set Content-Type and Return Status Code In REST Web Service Fault Message (Doc ID 2026747.1)

Last updated on APRIL 18, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.


A customer developed a custom PeopleSoft REST and wants to have the Fault message return a content type of "application/json" instead of "text/plain".

Is it possible to set it up so that the content type of the Fault message is `application/json` instead of text/plain so it can be consumed by the client?


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.