java.io.IOException

Server returned HTTP response code: 401 for URL: http://api.twitter.com/1/statuses/update.xml

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web12495

  • via Google Groups by Aruna, 6 months ago
    Server returned HTTP response code: 401 for URL: http://api.twitter.com/1/statuses/update.xml
  • via mathworks.com by Unknown author, 1 year ago
    Server returned HTTP response code: 401 for URL: https://api.twitter.com/1.1/statuses/update.json
  • Server returned HTTP response code: 400 for URL: https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=SrBachchan&count=10
  • Stack trace

    • java.io.IOException: Server returned HTTP response code: 401 for URL: http://api.twitter.com/1/statuses/update.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1241)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 5 days ago
    10 times, 1 month ago
    Once, 1 month ago
    4 times, 6 months ago
    Once, 6 months ago
    75 more bugmates