Skip to main content

ValidationIssue

One validation problem.

loc object[]required

Path of the offending field inside the body, for example ["point_to_point", "adults"]; empty for a body that is not valid JSON.

  • Array [
  • anyOf
    string
    Example: healthy
  • ]
  • msgstringrequired

    Explanation.

    Example: Input should be greater than or equal to 1
    typestringrequired

    Kind of problem, for example missing, greater_than_equal, value_error, extra_forbidden, json_invalid.

    Example: greater_than_equal
    ValidationIssue
    {
    "loc": [
    "point_to_point",
    "adults"
    ],
    "msg": "Input should be greater than or equal to 1",
    "type": "greater_than_equal"
    }