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

  1. ,
    Expert tip

    Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Solutions on the web

via Coderanch by Anjali GauravSingh, 1 year ago
Server returned HTTP response code: 400 for URL: http://www.way2sms.com/FirstServletsms?custid=
via winboost.org by Unknown author, 11 months ago
Server returned HTTP response code: 400 for URL: Anjali GauravSingh Ranch Hand Posts: 30 posted 6 years ago Hi Java Rancher's, I am trying to implement SMS application in Java. I am facing an error. No idea How to fix it. Exception in thread "main" java.io.IOException: Server returned HTTP response code: 400 for URL: http://www.way2sms.com/FirstServletsms?custid=
via Stack Overflow by John
, 2 years ago
Server returned HTTP response code: 400 for URL: http://www.google.com
via Oracle Community by 644532, 1 year ago
Server returned HTTP response code: 401 for URL: http://...
via Oracle Community by 807596, 1 year ago
Server returned HTTP response code: 502 for URL: http://www.cnn.com/
via Stack Overflow by abhig
, 2 years ago
Server returned HTTP response code: 401 for URL: http://internalsite
java.io.IOException: Server returned HTTP response code: 400 for URL: http://www.way2sms.com/FirstServletsms?custid=	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245)	at helloworld.SMS.send(SMS.java:99)	at helloworld.SMS.main(SMS.java:125)