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

  1. ,

    401 means "Unauthorized", so there must be something with your credentials. You need to pass the authentication to let the server know its a valid user. Check whether the authentication details are provided.

Solutions on the web

via GitHub by LeOSW42
, 1 year ago
{"message":"401 Unauthorized"}
via GitHub by soutaga
, 1 year ago
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 GitHub by DavidAntliff
, 1 year ago
{"message":"400 (Bad request) \"body\" not given"}
java.io.IOException: Server returned HTTP response code: 401 for URL: http://xxx.com/api/v3/projects/8	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)	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 com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)	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)