Content API Error Codes

The client must return appropriate error codes and error messages in the status object when Hotel Trader messages fail to process.

Below are the error codes and their definitions for various failure scenarios:

ERROR CODEDEFINITIONHTTP Status Code
4001Not authorized.401
7054Property with code {code} not found
200
7055Room type with code {code} not found
200
7056Rate plan with code {code} not found
200
7057Cancellation policy with code {code} not found
200
7058Tax with code {code} not found
200
7059Property with code {code} is disabled
200
7060Room type with code {code} is disabled
200
7061Rate plan with code {code} is disabled
200
7062Cancellation policy with code {code} is disabled
200
7063Tax with code {code} is disabled
200
4005Required field(s) {field} missing in request.400
4006Invalid value for field {field}400
4007Invalid date. The end date is earlier than the start date.400
4099Unknown internal server error.500