java.io.IOException: Server returned HTTP response code: 400 for URL: http://www.way2sms.com/FirstServletsms?custid=

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

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, 8 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 helloworld.SMS.send(SMS.java:99)
at helloworld.SMS.main(SMS.java:125)

Users with the same issue

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, 2 years ago
4 times, 3 months ago
4 times, 1 year ago
77 more bugmates

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