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 CODE | DEFINITION |
---|---|
4001 | Not authorized. |
7054 | Property with code {code} not found |
7055 | Room type with code {code} not found |
7056 | Rate plan with code {code} not found |
7057 | Cancellation policy with code {code} not found |
7058 | Tax with code {code} not found |
7059 | Property with code {code} is disabled |
7060 | Room type with code {code} is disabled |
7061 | Rate plan with code {code} is disabled |
7062 | Cancellation policy with code {code} is disabled |
7063 | Tax with code {code} is disabled |
4005 | Required field(s) {field} missing in request. |
4006 | Invalid value for field {field} |
4007 | Invalid date. The end date is earlier than the start date. |
4099 | Unknown internal server error. |