Unicat API Reference

Up - API Reference - Home


Validation information

Found in the result property of unsuccessful requests, where one or more fields failed validation.

1001 Validation error - Invalid data for field

This is reported with a HTTP status code 422 and internal code 1001. All relevant information is in the info property of the result.

HTTP/1.1 422 Unprocessable entity

{
    "success": false,
    "result": {
        "code": 1001,
        "message": "Validation error",
        "info": {}
    },
    "data": {}
}