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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by Jesse Glick, 1 year ago
{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
via Jenkins JIRA by Jesse Glick, 1 year ago
{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
via Google Groups by William Soula, 2 years ago
{"message":"Bad credentials"}
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"}
java.io.IOException: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}
at org.kohsuke.github.Requester.handleApiError(Requester.java:427)
at org.kohsuke.github.Requester._to(Requester.java:206)
at org.kohsuke.github.Requester.to(Requester.java:160)
at org.kohsuke.github.GitHub.getUser(GitHub.java:279)
at com.cloudbees.jenkins.GitHubRepositoryName$1$1.adapt(GitHubRepositoryName.java:101)
at com.cloudbees.jenkins.GitHubRepositoryName$1$1.adapt(GitHubRepositoryName.java:98)
at hudson.util.AdaptedIterator.next(AdaptedIterator.java:54)
at hudson.util.Iterators$FilterIterator.fetch(Iterators.java:109)
at com.cloudbees.jenkins.GitHubPushTrigger$2.run(GitHubPushTrigger.java:144)

Users with the same issue

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.