Errors

1 minute read

Sometimes things don’t go according to plan and we’ll let you know what happened as part of any error response.

In case your request results in one or more errors, (e.g. you’re missing required attributes), the response payload will include an array of errors. Even if there’s only one error, the result will be an array.

Response schema

  • Content type: application/json

  • Response schema type: object

Field nameType

errors

array[string]

Response example

Let’s say you’re trying to create a project without a repository_url. This leads to a HTTP response status of 400 with a body of:

{
  "errors": [
    "Repository url can't be blank"
  ]
}