Error Codes
When interacting with our API it is possible that you may encounter the following error codes in response to your requests. This list may change in future and so your integration should be built to handle additional error codes as and when they are introduced. Where possible, the system will return helpful human-readable error messages in addition to the error codes below to indicate the nature of the problem.
Error Codes
Error Code | Error Type | Error Description |
---|---|---|
1001 |
CompletedButFailedToRespond |
The operation completed but there was an error generating the |
1002 |
CompletedWithErrors |
The operation completed with some non-fatal errors. Please contact Stuba to confirm the status of the booking. |
2001 |
InvalidRequest |
The request was in an invalid format. |
2002 |
MissingParameter |
The request was missing a required parameter / element. |
2003 |
InvalidParameterValue |
The request contained a parameter / element with an illegal value. |
2004 |
WrongUserMode |
The operation requested is not available to this user type. |
3001 |
FeatureNotSupported |
The feature requested is not supported on this version. |
4001 |
SystemError |
General system error. |
4002 |
UserError |
General user error. The error message should give sufficient details of the problem to enable it to be corrected. |
4003 |
BookingAccessFailed |
Could not access requested booking. You may not have permission to view this booking Id. |
4004 |
OperationFailed |
Operation failed. |
4005 |
OperationPreviouslyPerformed |
OperationPreviouslyPerformed. This booking could not be cancelled. To cancel please contact the booking support team. Thanks |
4006 |
QuoteDoesNotMatchBooking |
The details you have provided when attempting to book do not match those on the quote. For example – the pax counts differ. The booking cannot be made in this situation. |
4007 |
SiteUnavailable |
This means Stuba has disabled the XML interface, and generally indicates the system is undergoing maintenance or is temporarily |
4008 |
Timeout |
Timeout: the request exceeded the time-limit for generating a response. If the request was a search, you might like to retry it with more restrictive parameters. |
5001 |
InvalidCardType |
The payment type is unrecognised or not supported on this version. |
6002 |
DuplicateExtrasInBooking |
You attempted to make a booking with duplicate extras. |
6004 |
InvalidExtraInBooking |
The extra specified for the booking is invalid. |
6006 |
UnknownUpgradeType |
The upgrade specified for the booking is invalid. |
6007 |
PriceChargeableDisagree |
The price for the upgrade could not be calculated. |
7001 |
QuotePriceChanged |
The price of a quote changed when booking. |
7002 |
QuoteAccessDenied |
Could not access requested quote. Either you do not have permission, or the quote Id was incorrect. |
7003 |
QuoteNotAvailable |
The specified quote is no longer available. |
XML Response Samples
Samples
2001
2002
2003
4001
4002
4005
4006