java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic dH JhZmZpY2Nhc3Q6Z3YxS0xCOEtxVHJhQTRnWDMxelRzVmlCNE9Kc0hsaXhNMDNteHQ5ZTZKQm40 WmI4MHNXZ0FKdHFpcFBqUWlu

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This bug happens from SDK 8 b117 to SDK 8 b122, try updating to 122 or further to fix it.

Solutions on the web

via Coderanch by Susan Smith, 1 year ago
Illegal character(s) in message header value: Basic dH JhZmZpY2Nhc3Q6Z3YxS0xCOEtxVHJhQTRnWDMxelRzVmlCNE9Kc0hsaXhNMDNteHQ5ZTZKQm40 WmI4MHNXZ0FKdHFpcFBqUWlu
via pentaho.com by Unknown author, 2 years ago
Illegal character(s) in message header value: Basic YXBpLnN0b25lZ2F0ZUBzdG9uZWdhdGU6empZVUlvNG9KSHhlRVh2VXVzcWxhbVVvUWZNSEZVTXNI UGdF
via Google Groups by Nick Stolwijk, 2 years ago
Illegal character(s) in message header value: Basic b250d2lra2Vsc3RyYWF0OntJRnpHeDFldkJoTUg1enVxaHJKUXRwQSs3eHZzUXRxRTJLSEUvamwr V1k4PX0=
via Stack Overflow by Unknown author, 2 years ago
Illegal character(s) in message header value: Basic aHVuZ2FtYS5jb206aHVuZ2FtYS5jb20=
via Stack Overflow by kazanuser
, 2 years ago
Illegal character(s) in message header value: GoogleLogin auth=DQ ..... UT
via sun.com by Unknown author, 1 year ago
Illegal character(s) in message header value: SITESERVER=ID=bfe5bedac5ef5c6553da6037e6 .... DQo8L3NhbWw6QXNzZXJ0aW9uPg==_null
java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic dH JhZmZpY2Nhc3Q6Z3YxS0xCOEtxVHJhQTRnWDMxelRzVmlCNE9Kc0hsaXhNMDNteHQ5ZTZKQm40 WmI4MHNXZ0FKdHFpcFBqUWlu
at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(HttpURLConnection.java:301)
at sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty(HttpURLConnection.java:1962)
at sun.net.www.protocol.http.BasicAuthentication.setHeaders(BasicAuthentication.java:143)
at sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(HttpURLConnection.java:1574)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1014)

Users with the same issue

2 times, 21 hours ago
8 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.