java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.linkedin.com/v1/companies/162479/shares?format=json

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

  • GitHub comment 35#170751966
    via GitHub by vemacs
    ,
  • GitHub comment 2389#186869932
    via GitHub by ghost
    ,
  • GitHub comment 15#192395102
    via GitHub by seniorivn
    ,
  • GitHub comment 48#193491107
    via GitHub by precurse
    ,
    • java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.linkedin.com/v1/companies/162479/shares?format=json at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at com.aail.linkedin.Linkedin.main(Linkedin.java:75)

    Users with the same issue

    Unknown visitor1 times, last one,
    tfr
    tfr35 times, last one,
    davidvanlaatum
    davidvanlaatum1 times, last one,
    pnaranja
    pnaranja3 times, last one,
    Unknown visitor1 times, last one,
    90 more bugmates