org.gitlab.api.GitlabAPIException: {"message":"401 Unauthorized"}

Hot problem!
This exception has a lot of traffic. You can help 11 users by writing a short tip.

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

Solutions on the web

via GitHub by LeOSW42
, 1 year ago
{"message":"401 Unauthorized"}
via github.com by Unknown author, 1 year ago
{"message":"400 (Bad request) \"body\" not given"}
via github.com by Unknown author, 1 year ago
{"message":"400 (Bad request) \"body\" not given"}
via GitHub by inforedaster
, 1 year ago
{"message":"400 (Bad request) \"body\" not given"}
via Google Groups by inforedaster ., 1 year ago
{"message":"400 (Bad request) \"body\" not given"}
org.gitlab.api.GitlabAPIException: {"message":"401 Unauthorized"}
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:324)
at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:144)
at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:116)
at svnserver.ext.gitlab.mapping.GitLabAccess$1.load(GitLabAccess.java:52)
at svnserver.ext.gitlab.mapping.GitLabAccess$1.load(GitLabAccess.java:44)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
at com.google.common.cache.LocalCache.get(LocalCache.java:3953)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)
at svnserver.ext.gitlab.mapping.GitLabAccess.getProjectAsAdmin(GitLabAccess.java:119)
at svnserver.ext.gitlab.mapping.GitLabAccess.checkRead(GitLabAccess.java:62)
at svnserver.server.SvnServer.hasAnonymousAuthenticator(SvnServer.java:305)
at svnserver.server.SvnServer.serveClient(SvnServer.java:180)
at svnserver.server.SvnServer.lambda$run$6(SvnServer.java:155)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
101 more bugmates

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