Errors
Error format
When a critical error occurs, Hoteliers.com returns an error feed using this format:
response error codes
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error code="1001" name="INCORRECT_XML_FILE">Incorrect XML data</error>
</errors>
Error types
Also, when an update from setRates
partially fails, these errors also apply. Here you will find an explanation of this error and what to do.
Error name | Explanation | Troubleshooting |
---|---|---|
INCORRECT_XML_FILE | The XML feed was empty, or not properly formatted. | Verify that you use the http_POST variablename stdin, use the right encoding and/or check your feed for errors |
NO_REQUEST_HEADER | The "request"-element could not be found. | Please use "request" as your base element |
NO_VALID_FUNCTION | No function or invalid function given | Please verify that you request the right function and/or inform if you have the right permissions for this function |
NO_AUTHENTICATION | The authentication (extchannel) element is missing | Please check your feed and Authentication of this manual |
INVALID_AUTHENTICATION | The authentication information is invalid | Please check your feed and Authentication of this manual |
HOTEL_NOT_EXTCHANNEL | This hotel is not connected to your channel | The hotel you are trying to request does not belong to your extchannel. Please contact our customer care department to connect this hotel to your extchannel. You can retrieve your current connected hotels by querying getHotels |
ROOM_NOT_IN_HOTEL | This room does not belong to this hotel | The room with this ID, or the rateID specified to a room is not connected to this hotel. Please check your mapping, using getRoomsAndRates or getRooms |
PACKAGE_NOT_IN_HOTEL | This package does not belong to this hotel | The package with this ID is not connected to this hotel. Please check your mapping, using getRoomsAndRates or getRooms |
RATE_ZERO_VALUE | Rate is zero (or negative) | The rate element cannot be smaller than 0.01, please check your feed for errors |
STARTTIME_OUT_OF_RANGE | Starttime of requested function is out of range | Please check your date and Date ranges |
STARTTIME_GREATER_ | Starttime is greater than the endtime | Please check your dates |
DATERANGE_TOO_LARGE | Date range is too large. Range should be at most 31 days | Please check your date and Date ranges |
CRITICAL_ERROR | Critical error | Please contact Hoteliers.com technical support and include feed. |