Coverage API

Errors

How the API reports a request it could not carry out.

Validation failures return 422 with an errors array. Each entry carries an error_code, a human readable description, and a recoverable flag that says whether the same request can succeed if you fix the input and try again.

{
  "errors": [
    {
      "status_text": "Incomplete",
      "error_code": "invalid_itinerary",
      "response_code": 422,
      "description": "Flights must be in chronological order",
      "recoverable": true
    }
  ]
}

A 404 on GET /order/{order_id} uses the same shape and means the order does not exist for your API key.