The table bellow lists all the possible error codes that you may get back from requests to our API.
In case of error, the response message will include the fields:
A successful request returns a response with HTTP status = 200 and __no__ "user_error" field. Otherwise, an error has occurred.
| __ERROR CODE__ | __DESCRIPTION__ |
| --- | --- |
| 400 | HTTP 400 - Bad Request
| 401 | HTTP 401 - Unauthorized
| 403 | HTTP 403 - Forbidden
|404 | HTTP 404 - Not Found
| 500 | Internal Server Error
| 501 | Not Implemented
| 503 | Service Unavailable
|1001 | Internal error (with a unique ID if the error is logged; in those cases Bookings may be contacted to trace the error).
|1002 | One or more required input parameters are missing.
|1003 | One or more input parameters have an illegal format.
|1005 | HTTPS (SSL) connection required for using this procedure.
|1006 | Invalid parameter combination.
|1007 | Too many requests per minute. Please don't use this function so heavily (i.e. only for testing)
|1008 | Too many parallel requests.
|1009 | One or more input parameters have an incorrect value.
|1010 | Function not allowed.
|1011 | The specified hotel is not in service.
|1012 | XML parse error
|1013 | Credit card validation error
|1014 | This call requires connection to secure server. Please add 'secure-' prefix to domain name.
|1015 | This call can not be made to secure server. Please remove 'secure-' prefix from domain name.
|1105 | Room not found.
|1106 | Room is not part of the hotel.
|1107 | The block you are trying to book is not available (block is no longer available, or not available at the incremental price you specified)
|1111 | A reequest is blocked because its considered a hijack for a booking
|1119 | Affiliate not found.
|1120 | Affiliate is closed.
|1122 | Guest_qty is not between 1 and it's maximum.
|1123 | The given booking is cancelled.
|1124 | Arrival date must be today or after today
|1125 | Number of rooms is bigger than the maximum allowed
|2001 | Provided token is invalid.
|2002 | Missing booknumber or pincode.
|2003 | Unknown error while linking booking.
|2004 | This booking has already been linked to another user account.
|2005 | This booking has already been processed and a cached result will be returned.
|2006 | Book process failed.
|2007 | There was a problem processing payment
|2010 | There is insufficient funds on the credit card used to book.