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