HttpURLConnection.getErrorStream Returns NULL For 401 Response

(Doc ID 2133570.1)

Last updated on MAY 10, 2016

Applies to:

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


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


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