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

Internal

CodeDescription
INTERNAL_ERRORInternal error
SERVICE_UNAVAILABLEService unavailable
EXTERNAL_SERVICE_ERRORExternal service error
Last updated on