Corresponds to a standard 400 Bad Request HTTP response status
Indicates that the server cannot process the request due to a client error (such as malformed syntax, invalid message framing, or deceptive routing).
{
"code": "BAD_REQUEST",
"type": "https://docs.leyr.io/api/error-handling/bad_request",
"title": "Request validation failed",
"status": 400,
"detail": "1 validation error for Request\nquery -> standard\n value is not a valid enumeration member; permitted: 'fhir' (type=type_error.enum; enum_values=[<Standard.fhir: 'fhir'>])",
"instance": "36b5909e-4391-4520-b303-84cbb80c4264"
}
detail field in the response body. This field contains specific information about the error, helping you identify the exact issue.
Our error responses follow the Pydantic error message format, providing detailed information about missing or invalid parameters and their location (body, query, path).