Skip to main content

ValidationFailedExceptionCreateProjectCustomerDtoBody

codeValidationFailedBodyCoderequired
Constant value: VALIDATION_FAILED_BODY
data objectrequired
errors object[]required
  • Array [
  • oneOf
    pathstringrequired
    Constant value: attributes
    constraintstringrequired
    Constant value: isNotEmptyObject
    messagestringrequired
    Constant value: attributes must be a non-empty object
  • ]
  • messagestringrequired
    Constant value: Validation failed
    traceIdstring
    ValidationFailedExceptionCreateProjectCustomerDtoBody
    {
    "code": "VALIDATION_FAILED_BODY",
    "data": {
    "errors": [
    {
    "path": "attributes",
    "constraint": "isNotEmptyObject",
    "message": "attributes must be a non-empty object"
    },
    {
    "path": "attributes",
    "constraint": "isObject",
    "message": "attributes must be an object"
    },
    {
    "path": "currencyCode",
    "constraint": "isISO4217CurrencyCode",
    "message": "currencyCode must be a valid ISO4217 currency code"
    },
    {
    "path": "description",
    "constraint": "isString",
    "message": "description must be a string"
    },
    {
    "path": "description",
    "constraint": "maxLength",
    "message": "description must be shorter than or equal to 5000 characters"
    },
    {
    "path": "isTest",
    "constraint": "isBoolean",
    "message": "isTest must be a boolean value"
    },
    {
    "path": "mainContactEmail",
    "constraint": "isEmail",
    "message": "mainContactEmail must be an email"
    },
    {
    "path": "name",
    "constraint": "isString",
    "message": "name must be a string"
    },
    {
    "path": "name",
    "constraint": "maxLength",
    "message": "name must be shorter than or equal to 255 characters"
    },
    {
    "path": "name",
    "constraint": "minLength",
    "message": "name must be longer than or equal to 1 characters"
    },
    {
    "path": "supplierVisibleName",
    "constraint": "isString",
    "message": "supplierVisibleName must be a string"
    },
    {
    "path": "supplierVisibleName",
    "constraint": "maxLength",
    "message": "supplierVisibleName must be shorter than or equal to 255 characters"
    },
    {
    "path": "supplierVisibleName",
    "constraint": "minLength",
    "message": "supplierVisibleName must be longer than or equal to 1 characters"
    },
    {
    "path": "supplierVisibleOrganizationName",
    "constraint": "isString",
    "message": "supplierVisibleOrganizationName must be a string"
    },
    {
    "path": "supplierVisibleOrganizationName",
    "constraint": "maxLength",
    "message": "supplierVisibleOrganizationName must be shorter than or equal to 255 characters"
    },
    {
    "path": "unknownField",
    "constraint": "whitelistValidation",
    "message": "property unknownField should not exist"
    }
    ]
    },
    "message": "Validation failed",
    "traceId": "string"
    }