-1

I have an issue updating some projects Status in Gitlab via its API, I'm getting this body response:

Response body: {
      "message" : {
            "target_url" : [ "is too long (maximum is 255 characters)" ]
      }
}

This update is done via a Jenkins plugin to update the status of each branch/commit.

IrQus
  • 13
  • 3

1 Answers1

0

It happened because of the limit of a field target_url, from your side nothing much you can do to fix that, unless you make the project name/path shorter.

There's an ongoing issue on Gitlab to increase the limit for some fields: https://gitlab.com/gitlab-org/gitlab/-/issues/23868#note_507841032

sadok-f
  • 1,387
  • 15
  • 28