Hata kodları

Hatalar RFC 9457 problem+json biçimindedir; programınız code alanına göre karar vermelidir.

codeHTTPAnlamı
subscription_has_bookings409The subscription cannot end while you have a running hold or a reservation whose stay has not ended.
hold_ref_required400A hold needs holdRef: your own hold / request number.
external_ref_required400A reservation needs externalRef: its number in your own system.
extra_unknown400A chosen paid amenity does not exist on the property (or in that room). See extraOptions of the availability answer.
extension_too_early409A hold can only be extended in its last five minutes.
extension_too_long400The extension is longer than the hold limit the owner set for this property.
extension_limit409This hold was already extended three times.
queue_waiting409Another agency is queued for these nights, so the hold cannot be extended.
queue_priority409The first agency in the queue has these nights to itself for a few minutes.
dates_available409Nothing to queue for: the nights are free, place the hold.
waitlist_full409You already have five open queue entries for this property.
waitlist_entry_not_found404No such queue entry of yours.
api_key_missing401No Authorization: Bearer … header.
api_key_invalid401The key is malformed or unknown.
api_key_revoked401The key was revoked.
api_key_expired401The key passed its expiry date.
ip_not_allowed403The call came from an address outside the key's allow-list.
scope_missing403The key lacks the scope this endpoint needs (named in detail).
agency_not_approved403Live keys work only for agencies staff have approved.
account_suspended403The account is suspended.
not_subscribed403You have no active subscription to this property.
property_not_found404No such property in this mode (a test key never sees live properties, nor the reverse).
dates_unavailable409The nights are not free (any longer).
subscription_exists409You already have an open subscription or request.
hold_expired409The hold ran out of time.
reservation_not_active409The reservation is already cancelled or over.
stay_rules_violated422The stay breaks the property's rules; violations lists them.
rate_limited429Too many requests; wait retryAfter seconds (see the RateLimit-* headers).