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. ,
    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 Stack Overflow 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"}
via GitHub by inforedaster
, 1 year ago
{"message":"400 (Bad request) \"body\" not given"}
via Google Groups by inforedaster ., 2 years 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.com by Unknown author, 1 year ago
{"message":"400 (Bad request) \"body\" not given"}
java.io.IOException: Server returned HTTP response code: 400 for URL: http://server/api/v3/projects/29/merge_requests/12/notes	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)	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 org.gitlab.api.GitlabAPI.createNote(GitlabAPI.java:1073)	at org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.createNote(GitlabMergeRequestWrapper.java:217)	at org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.build(GitlabMergeRequestWrapper.java:258)	at org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.check(GitlabMergeRequestWrapper.java:100)	at org.jenkinsci.plugins.gitlab.GitlabRepository.check(GitlabRepository.java:86)	at org.jenkinsci.plugins.gitlab.GitlabRepository.check(GitlabRepository.java:68)	at org.jenkinsci.plugins.gitlab.GitlabMergeRequestBuilder.run(GitlabMergeRequestBuilder.java:28)	at org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.run(GitlabBuildTrigger.java:134)	at hudson.triggers.Trigger.checkTriggers(Trigger.java:273)	at hudson.triggers.Trigger$Cron.doRun(Trigger.java:222)	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)