Skip to main content

UnprocessableEntityError

messagestringrequired
Example: Input validation failed
errors object[]

A list of input validation errors, specifying the location and type of error.

  • Array [
  • locationstringrequired

    The location of the error in the request.

    Example: body
    messagestringrequired

    A message describing the error.

    Example: Value must be one of the following: [aws, azure]
    typestringrequired

    The type of error.

    Example: oneof
  • ]
  • validationDiagnostics object[]

    A list of validation diagnostics that provide additional information about validation errors that occurred as a part of loading the source blueprint document specified in the request.

  • Array [
  • messagestringrequired

    The message of the diagnostic.

    Example: Incorrect blueprint version
    levelintegerrequired

    The level of the diagnostic.

    Example: 1
    range object
    start object

    The start position of the range.

    lineinteger

    The line number of the source position.

    Example: 1
    columninteger

    The column number of the source position.

    Example: 1
    endPosition objectnullable

    An optional end position for the location where the location represents a range that identifies a particular item in a document.

    lineinteger

    The line number of the source position.

    Example: 1
    columninteger

    The column number of the source position.

    Example: 1
    end object

    The end position of the range.

    lineinteger

    The line number of the source position.

    Example: 1
    columninteger

    The column number of the source position.

    Example: 1
    endPosition objectnullable

    An optional end position for the location where the location represents a range that identifies a particular item in a document.

    lineinteger

    The line number of the source position.

    Example: 1
    columninteger

    The column number of the source position.

    Example: 1
    columnAccuracyinteger

    The column accuracy of the range in the host document.

    Possible values: [1, 2]

    Example: 1
  • ]
  • UnprocessableEntityError
    {
    "message": "Input validation failed",
    "errors": [
    {
    "location": "body",
    "message": "Value must be one of the following: [aws, azure]",
    "type": "oneof"
    }
    ],
    "validationDiagnostics": [
    {
    "message": "Incorrect blueprint version",
    "level": 1,
    "range": {
    "start": {
    "line": 1,
    "column": 1,
    "endPosition": {
    "line": 1,
    "column": 1
    }
    },
    "end": {
    "line": 1,
    "column": 1,
    "endPosition": {
    "line": 1,
    "column": 1
    }
    },
    "columnAccuracy": 1
    }
    }
    ]
    }