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

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

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

Internal

CodeDescription
INTERNAL_ERRORInternal error
SERVICE_UNAVAILABLEService unavailable
EXTERNAL_SERVICE_ERRORExternal service error