ErrorListObject
| Field | Type | Required | Description |
|---|---|---|---|
code |
number |
||
entity |
string |
||
entityId |
`string | object` | |
entityIndex |
integer |
||
reason |
string |
||
subentityPath |
`array[string | number]` | |
validationErrors |
array[ValidationError] |
Example
Section titled “Example”{ "code": 400, "entity": "planet", "entityId": "pluto", "entityIndex": 1, "reason": "Planet pluto was not found (did you mean dwarf planet pluto?)", "subentityPath": [ "lineItems", 0 ], "validationErrors": [ { "field": "shopNumber", "message": "Request validation failed: Parameter (shopNumber) is not a valid int64 integer: 100n06", "code": "validation.INVALID_TYPE", "value": "100n06" } ]}
