Skip to main content

Error Code

HTTP Status​

HTTPMessage
200OK
401Unauthorized
404Not found
500Internal server error

Application Codes​

CodeMessage
200SUCCESS
400HAL01Invalid request body
400HAL11Invalid checkin date format
400HAL12Checkin date must be equal or greather than today
400HAL13Invalid checkout date format
400HAL14Checkout date must be greater than checkin date
400HAL15The duration of stay not exceed 30 days
400HAL22The hotels field must contain between 1 and {limit} hotels
400HAL23The hotels field must not contain duplicate hotelId values
400HAL16The totalRoom field must be in 1 to 9
400HAL17The totalAdult field must be in {totalRoom} to {totalRoom × 4}
400HAL18The totalChild field must be in 0 to {totalRoom × 2}
400HAL19The countryOfPassport field must be valued
400HAL20The endUserIpAddress field must be a valid IP address without port
400HAL21The currency field must be a 3-letter uppercase currency code
400SAL11Unsupported currency: {CURRENCY}
401MAU01Unauthorized
401MAU11Invalid token issuer
401MAU02Token expired
401MAU12Token session expired
401MAU13Agent not found
403MAC01Invalid permission
500ADR11Internal Server Error
500ADR12Internal Server Error
500ADR13Internal Server Error
500ADR14Internal Server Error
500ADR15Internal Server Error
500ADR16Internal Server Error
500ADR17Internal Server Error