flights.invalid_search — Search request not valid
HTTP status: 422
Retryable: no — change the request or the flow first
When it happens
The search criteria are incomplete or impossible: missing airports, a date in the past or more than a year ahead, no adult, more infants than adults, more than 9 seated passengers, or more than 6 legs.
What to do
Fix the fields listed in errors and search again.
Example response
{
"type": "https://quickota.com/developers/errors/flights.invalid_search",
"title": "Search request not valid",
"status": 422,
"code": "flights.invalid_search",
"detail": "The search criteria are incomplete or impossible: missing airports, a date in the past or more than a year ahead, no adult, more infants than adults, more than 9 seated passengers, or more than 6 legs.",
"suggestion": "Fix the fields listed in \u0060errors\u0060 and search again.",
"retryable": false,
"requestId": "req_7f3a2c9e41d0b8a6c5e21f90"
}
See Errors for how to handle errors in general.