Skip to main content

UnifiedError

Why a recheck, book, booking-details or cancel did not succeed.

codestringrequired

recheck_failed, recheck_error, unavailable, currency_unavailable, book_failed, book_error, book_outcome_unknown, booking_details_failed, booking_details_error, cancel_failed, cancel_error or cancel_outcome_unknown. New codes may be added.

Example: book_outcome_unknown
messagestringrequired

Explanation, often with the provider's reason. Do not parse.

Example: The booking outcome could not be confirmed with the provider. Do not book again: retry the same request (same internal_reference) later, or contact support w...
providerstring | nullnullable

Provider.

Example: provider_a
UnifiedError
{
"code": "book_outcome_unknown",
"message": "The booking outcome could not be confirmed with the provider. Do not book again: retry the same request (same internal_reference) later, or contact support w...",
"provider": "provider_a"
}