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

GitHub | soutaga | 5 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

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

    GitHub | 5 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