java.io.IOException: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}

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 Jenkins JIRA by Jake Fagan, 1 year ago
{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
via Jenkins JIRA by Jake Fagan, 1 year ago
{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
via Jenkins JIRA by Michael Grünewald, 1 year ago
{"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}
via Jenkins JIRA by Michael Grünewald, 1 year ago
{"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}
via GitHub by cstewart87
, 2 years ago
{"message":"Bad credentials","documentation_url":"http://developer.github.com/v3"}
via Jenkins JIRA by Jesse Glick, 1 year ago
{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.github.com/rate_limit
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
at org.kohsuke.github.Requester.parse(Requester.java:298)
at org.kohsuke.github.Requester._to(Requester.java:175)

Users with the same issue

Once, 1 year ago
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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