My Oracle Support Banner

SSE is not throwing Custom Exception Error Messages as Configured with Status Codes 404 or 500 (Doc ID 2539252.1)

Last updated on NOVEMBER 15, 2019

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

ISSUE STATEMENT

SSE is not throwing exception as expected  

STEPS
The issue can be reproduced at will with the following steps:

Configure the custom exception as below,


{
   "status": 404,
   "message": "Backend server not available. Please try again later"
}

But the actual Exception was {"message":"General exception during invocation","status":"404"}

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.