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 Stack Overflow by Nicholas Siegmundt
, 1 year ago
Server returned HTTP response code: 500 for URL: https://cs28.salesforce.com/...
java.io.IOException: Server returned HTTP response code: 500 for URL: https://cs28.salesforce.com/...	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1639)	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)	at com.ibm.net.ssl.www2.protocol.https.b.getResponseCode(b.java:73)