org.gitlab.api.GitlabAPIException: {"message":"400 (Bad request) \"body\" not given"}

GitHub | DavidAntliff | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 184#244635064

    GitHub | 8 months ago | DavidAntliff
    org.gitlab.api.GitlabAPIException: {"message":"400 (Bad request) \"body\" not given"}
  2. 0

    Installing plugins fails jenkins-bootstrap-start

    GitHub | 1 year ago | jtreminio
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://127.0.0.1:8080/cli
  3. 0

    Unable to install plugins on Jenkins master

    GitHub | 1 year ago | sernapallyanurag
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1630#219083794

    GitHub | 11 months ago | dx9
    java.lang.IllegalStateException: java.lang.IllegalStateException: Failed to download [configscripts]
  6. 0

    support jenkins 2.x

    GitHub | 10 months ago | bjusufbe
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    HttpURLConnection.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
    1 frame
  3. Gitlab Java API Wrapper
    GitlabAPI.createNote
    1. org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:324)
    2. org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:144)
    3. org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:116)
    4. org.gitlab.api.GitlabAPI.createNote(GitlabAPI.java:1073)
    4 frames
  4. Gitlab Merge Request Builder
    GitlabBuildTrigger.run
    1. org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.createNote(GitlabMergeRequestWrapper.java:217)
    2. org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.build(GitlabMergeRequestWrapper.java:258)
    3. org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.check(GitlabMergeRequestWrapper.java:100)
    4. org.jenkinsci.plugins.gitlab.GitlabRepository.check(GitlabRepository.java:86)
    5. org.jenkinsci.plugins.gitlab.GitlabRepository.check(GitlabRepository.java:68)
    6. org.jenkinsci.plugins.gitlab.GitlabMergeRequestBuilder.run(GitlabMergeRequestBuilder.java:28)
    7. org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.run(GitlabBuildTrigger.java:134)
    7 frames
  5. Hudson
    SafeTimerTask.run
    1. hudson.triggers.Trigger.checkTriggers(Trigger.java:273)
    2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:222)
    3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
    3 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames