Skip to Content
The AKIN Travel developer platform is in beta — APIs may change. Get started →
ErrorsError codes

Error codes

Every error returned by the AKIN Travel partner API carries an extensions.code value. Use the code for programmatic handling; the message field is a human-readable fallback and may change. The list below is generated from ApiErrorCode in the API source.

Authentication & Authorization

CodeDescription
AUTH_REQUIREDAuth required
ACCESS_DENIEDAccess denied
PERMISSION_DENIEDPermission denied
INVALID_TOKENInvalid token
TOKEN_EXPIREDToken expired

is safe here, and context.rpId names the rpId to signal.

CodeDescription
PASSKEY_NOT_FOUNDPasskey not found

Not Found

CodeDescription
NOT_FOUNDNot found
MEMBER_NOT_FOUNDMember not found
BOOKING_NOT_FOUNDBooking not found
PROPERTY_NOT_FOUNDProperty not found
PARTNER_NOT_FOUNDPartner not found
REWARD_NOT_FOUNDReward not found
USER_NOT_FOUNDUser not found
PERK_NOT_FOUNDPerk not found

Validation

CodeDescription
VALIDATION_ERRORValidation error
INVALID_INPUTInvalid input
DUPLICATE_ENTRYDuplicate entry
INVALID_STATUSInvalid status
INVALID_DATEInvalid date
CAPTCHA_FAILEDCaptcha failed

Business Logic

CodeDescription
OPERATION_FAILEDOperation failed
ALREADY_EXISTSAlready exists
NOT_ALLOWEDNot allowed
LIMIT_EXCEEDEDLimit exceeded

message substring instead would break the moment the copy is reworded.

CodeDescription
REWARD_NOT_ELIGIBLE_FOR_TIERReward not eligible for tier
REWARD_LIMIT_REACHEDReward limit reached

the SET it would produce was not, and the remediation is a different click.

CodeDescription
RATE_PAIR_INVARIANTRate pair invariant

properties so the ladder editor can say which.

CodeDescription
TIER_RUNG_LIVETier rung live

named neither the reason nor the line.

CodeDescription
CHECKOUT_LINE_REJECTEDCheckout line rejected

to remove (the notice #5821 already renders for this code).

CodeDescription
CHECKOUT_MODEL_UNAVAILABLECheckout model unavailable

A FORGED or expired token is never this — that books as AKIN, as before.

CodeDescription
BOOKING_SURFACE_UNAVAILABLEBooking surface unavailable

refuse it. Retryable: a reload re-mints the token

CodeDescription
BOOKING_SURFACE_TOKEN_INVALIDBooking surface token invalid

extensions.context.missing names what is missing.

CodeDescription
BOOKING_CONDITIONS_NOT_SETBooking conditions not set

open, or an old page sent none. Retryable: a reload shows the current text.

CodeDescription
BOOKING_CONDITIONS_STALEBooking conditions stale

with one translation key per reason (akin-travel/issues#6897)

CodeDescription
TRIP_NOT_PENDINGTrip not pending

field in extensions.context.failures.

CodeDescription
STORY_CHECKLIST_VIOLATIONStory checklist violation

REQUIRED means a version is missing. The English message is unchanged.

CodeDescription
LEGAL_ACCEPTANCE_REQUIREDLegal acceptance required
LEGAL_VERSION_STALELegal version stale

PAYMENTS_LOOKUP_FAILED — the gateway could not be read, try again later.

CodeDescription
CLOUDBEDS_NOT_CONNECTEDCloudbeds not connected
CLOUDBEDS_RECONNECT_REQUIREDCloudbeds reconnect required
CLOUDBEDS_NO_PAYMENT_GATEWAYCloudbeds no payment gateway
CLOUDBEDS_PAYMENTS_LOOKUP_FAILEDCloudbeds payments lookup failed

Internal

CodeDescription
INTERNAL_ERRORInternal error
SERVICE_UNAVAILABLEService unavailable
EXTERNAL_SERVICE_ERRORExternal service error
Last updated on