org.gitlab.api.GitlabAPIException: {"message":{"color":["must be a valid color code"]}}

GitHub | soutaga | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Not possible creating a label - {"message":{"color":["must be a valid color code"]}}

    GitHub | 6 months ago | soutaga
    org.gitlab.api.GitlabAPIException: {"message":{"color":["must be a valid color code"]}}

    Root Cause Analysis

    1. org.gitlab.api.GitlabAPIException

      {"message":{"color":["must be a valid color code"]}}

      at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError()
    2. Gitlab Java API Wrapper
      GitlabAPI.createLabel
      1. org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:369)
      2. org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:146)
      3. org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:116)
      4. org.gitlab.api.GitlabAPI.createLabel(GitlabAPI.java:1512)
      4 frames