Attempting Access Of Ccadmin Endpoints With Bad Bearer Token Sometimes Returns 500 Internal Server Error Instead of 401 Not Authorized

(Doc ID 2302978.1)

Last updated on SEPTEMBER 22, 2017

Applies to:

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

Symptoms

When using the REST API, attempting access of ccadmin endpoints with a bad bearer token returns 500, not 401.

ERROR
-----------------------

HTTP 500 server error

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

1. Attempt to access the ccadmin endpoints using a 'bad' authorization bearer token
2. Receive a '500 Internal Server Error' response.

BUSINESS IMPACT
-----------------------
Due to this issue, we may not be able to determine if there is a problem on the server or if the bearer token is incorrect.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms