My Oracle Support Banner

HttpURLConnection.getErrorStream Returns NULL For 401 Response (Doc ID 2133570.1)

Last updated on NOVEMBER 07, 2023

Applies to:

Oracle WebLogic Server - Version 10.3.6 to 12.1.3.0.0
Information in this document applies to any platform.

Symptoms

HttpURLConnection#getErrorStream() returns null when http response code is 401. Here is a output example:

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.