java.io.IOException

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.

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

  • Using Outlook REST API v2.0
    via Stack Overflow by Luftbaum
    ,
  • ConnectionException when saving new story
    via by Unknown author,
  • Version: 1.4.7.318 - FTB Paste
    via by Unknown author,
  • GitHub comment 40#137969764
    via GitHub by mcccs
    ,
  • Version: 1.4.8.344 - FTB Paste
    via by Unknown author,
  • Paste.ee - View paste TQ5ty
    via by Unknown author,
    • java.io.IOException: Server returned HTTP response code: 401 for URL: https://outlook.office.com/api/v2.0/me/calendars/90e0ec6940694c5a8f3ed4b3704ddff1/calendarview?startDateTime=2016-01-01T01:00:00&endDateTime=2016-03-03T23:00:00 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) at de.airdevelopments.outlookapi.OutlookHTTPConnector.executeRequest(OutlookHTTPConnector.java:46) at de.airdevelopments.outlookapi.Test.test(Test.java:22) at de.airdevelopments.outlookapi.Test.main(Test.java:13)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    90 more bugmates