Status Code 400

Validation Error Object

  • Path: The path to the property that caused the validation error.
  • Code: The validation error (refer to the table below).
  • Message: The error message.
  • Data: Metadata related to the validation error code.
    • The properties in the metadata will vary depending on the validation error code.
CodeError
0Invalid
1Invalid JSON
2Required
3Max Length
4Min Length
5Greater Than
6Greater Than or Equal
7Less Than
8Less Than or Equal
9Read Only
10Format
11Empty Request Body
12Unsupported Value
13Type Conversion
14One Parameter Required
15Invalid XML
16Unsupported Operator
100Import XML

Sample Response

{
  "status": {
    "code": 400,
    "message": "Validation Error"
  },
  "errors": [
    {
      "path": "Promise_Date",
      "code": 9,
      "message": "Read-Only",
      "data": {
        "PropertyName": "Promise_Date",
        "PropertyValue": "2019-09-13T00:00:00"
      }
    }
  ]
}