Home
Developer Guide
Introduction
About the API
Integrating with the API
FAQ
Get Hotel Information
Information
Examples
List RoomRates (Room + RatePlan)
Information
Examples
Get Availability and Restrictions
Information
Examples
Get Inventory
Information
Examples
Update Availability and Restrictions
Information
Examples
List Rate Plans
Information
Examples
Get Rates
Information
Examples
Update Rates
Information
Examples
Booking Handling (Pull)
Information
Examples
Booking Handling (Push)
Information
Examples
Reference Tables
Warning Validation Codes
Error Validation Codes
Booking Data Structures
# Warning codes A warning code is sent in response when some of the elements in the XML could't be processed. Some changes may have impacted our system. |Codes | Message | |:-----|:---------| |W20001| The ratePlan: *aRatePlanCodeCode* does not exist. |W20002| The room: *aRoomCode* does not exist. |W20003| The room rate for: (*aRoomCode* , *aRatePlanCodeCode*) does not exist. |W20004| The hotel *aHotelCode* supports additional meal plan/s that are unknown to this service implementation. |W20005| The charge type used in ratePlan: *aRatePlanCodeCode* is incorrect. |W20006| The currency used in ratePlan: *aRatePlanCodeCode* is incorrect. |W20007| Restrictions *aWrongRestriction* update for room *aRoomCode* failed with error: this room inherits restrictions from base rate plan *aRatePlanCode*. |W20008| Rate code associated to Rate Plan Code *aRatePlanCode* not present. |W20015| Credit card details for reservation *aTransactionId* are currently unavailable |W20016| Credit card details for reservation *aTransactionId* are currently unavailable |W20017| Incorrect field used to set the room's: *aRoomCode* price in ratePlan: *aRatePlanCode* for date range: [*aStartDate* - *anEndDate*]. The hotel works with tax excluded. Be aware that this configuration affects the sell price. |W20018| Rate update for room: *aRoomCode*, ratePlan: *aRatePlanCode* and date range: [*aStartDate* - *anEndDate*] failed. The age qualifying is incorrect. |W20019| The interval [*aStartDate* - *anEndDate*] used for room: *aRoomCode* and ratePlan *aRatePlanCode* is invalid. |W20020| Unauthorized to update restriction 'Minimum or Maximum Cut Off' for room: *aRoomCode* and rate plan: *aRatePlanCode*. |W20021| The ratePlan: *aRatePlanCode* is a rate plan link and does not allow Price updates. |W20022| Rate's update for room: *aRoomCode*, ratePlan: *aRatePlanCode* and date range: [*aStartDate*, *anEndDate*] failed because the number of guests is invalid. |W20023| Rate update to room: *aRoomCode*, ratePlan: *aRatePlanCode* and date range: [*aStartDate*, *anEndDate*] failed because only one rate base by number of guests is allowed. |W20024| The reservation: *aReservationCode* for hotel: *aHotelCode* does not exist |W20025| An error occurred while trying to retrieve the reservation: *aReservationCode* for hotel: *aHotelCode*. |W20026| The rate(s): *someRate* used in room: *aRoomCode*, ratePlan: *aRatePlanCode* and date range: [*aStartDate*, *aEndDate*] is invalid. It should be greater than zero and shorter than 5 decimals. |W20027| There is no availability for the rooms and rateplans requested. Additional information is available in the extranet. For further information, check https://channel.despegar.com/v1/hotels/availability/list |W20028| The BaseByGuestAmounts only support ADULTs. You can modify the other categories using AdditionalGuestAmounts. |W20029| The ratePlan *aRatePlanCode* belongs to an exclusive private contract and is read-only. |W30001| Multiple errors - Several errors due to bad request |W30002| There is a missing field in the request. |W30003| Max value exceeded - Value must be a number lower or equal to the specified maximum |W30004| Max date exceeded - Date must be lower or equal to the specified maximum |W30005| Min value exceeded - Value must be a number higher or equal to the specified minimum |W30006| Invalid ID. It must be a number between 1 and 9223372036854775807 |W30007| At least one field is required |W30008| Range starting date cannot be earlier than today |W30009| Range starting date must be before its ending date |W30010| Ranges cannot overlap |W30011| The requested Resource could not be found. Please check the IDs sent in the request |W30012| Rate plan is linked to some other rate plan and inherits its restrictions |W30013| Room does not support guaranteed allotment |W30014| Hotel room pricing type does not match rates configuration |W30015| At least one rate does not reach minimum bound |W30016| At least one rate exceeds maximum bound |W30017| Room does not allow extra charges |W30018| There are extra charges for non chargeable age qualifiers |W30019| There are age ranges not supported by hotel age distribution |W30020| Room max guests exceeded |W30021| There are negative extra charge |W30022| There is no previous data for modification |W30024| There date range doesn't belong to the ratePlan validity |W30023| Unable to stop the Sell on roomrate: *aRoomRateNumber* as there are no other saleable rateplans for the room |W30025| Minimum length of stay can't be bigger than max length of stay |W30026| Number format invalid. Remember it should be a positive number with at most 4 decimals. |W30027| The guests value must be set between 1 and 20. For more information about the valid guest consume https://channel.despegar.com/v1/hotels/hotel-info/get |W59999| Suffering technical problems, please try later. If this problem persist, please contact: channels@despegar.com