Skip to main content

Connector Errors

When a Buyer request reaches a Seller through a Connector, the Connector trace can contain an AdviseMessage. The Buyer API response exposes the same situation through a numeric error type in HotelX or a Legacy error code. Use this page to translate Connector messages into the Buyer API errors you receive and to identify the supplier details needed for troubleshooting.

How to Read a Connector Message

Connector messages use these fields:

FieldMeaning
codeThe readable Connector message name, such as SupplierTimeout.
idThe numeric Connector identifier, such as 31104.
levelError, Warning, or Info.
descriptionThe standard human-readable explanation.
legacyIdThe corresponding Legacy error code and HotelX error type.
externalSupplier-specific details, when available.
correlationIdIdentifier used to correlate the message with the operation or request.

For example, ItemNotAvailable has Connector id 11301 and maps to Buyer error 301:

{
"code": "ItemNotAvailable",
"description": "Option not found in quote",
"id": 11301,
"legacyId": 301,
"level": "Error",
"external": {
"httpStatusCode": 200,
"message": "Option not found in quote: Parameters not found"
}
}

Connector-to-Buyer Error Mapping

Use the Connector legacyId to find the corresponding Buyer API error. For details and resolution steps for a Buyer error, see the Hotel Buyers API errors and warnings.

Connector idConnector codelevellegacyIddescriptionexternal
11102SupplierErrorError102Supplier errorRequired
11207SupplierBadRequestError102Bad request to supplierOptional
11205SupplierSessionExpiredError102Supplier session expiredOptional
11206SupplierResponseNotSerializableError102Supplier request or response cannot be processedOptional
11304PriceChangedError102Price changedOptional
11305BookingNotFoundError102Booking not foundOptional
12401UnauthorizedError102UnauthorizedOptional
11204SupplierNoResultsFoundWarning204No results foundOptional
12207BadRequestError207Request not accepted by supplierOptional
12501NotImplementedInfo207Operation not implementedNot included
11301ItemNotAvailableError301Option not found in quoteOptional
11302ItemNotFoundInContentError302Hotel not foundNot included
11303SupplierBookingNotConfirmedError303Booking not confirmedOptional
22101InternalErrorError101Internal errorOptional
22105ExtraOperationConnectionErrorError105Internal connection errorNot included
22106SupplierResponseMaxSizeExceededError105Supplier response exceeded the maximum sizeOptional
22107MaxOptionsExceededError101Maximum number of options exceededOptional
31103SupplierTooManyRequestsError103Too many requests to the supplierRequired
31104SupplierTimeoutError104Connection timeout with supplierOptional
31105SupplierConnectionErrorError105Communication errorRequired
12106RequestAbortedByClientError106Request aborted by clientNot included
12290InternalWarningWarning0Internal warningOptional
11291SupplierWarningWarning0Supplier warning; check external for detailsRequired

The common Buyer error meanings are:

Buyer errorMeaning
0No error code; used for warnings and informational messages.
101System or internal error
102Provider or supplier error
103Too many requests
104Connection timeout with provider
105Communication error
106Request aborted by client
204No results found
207Request not accepted by supplier
301Option not found in quote
302Hotel not found
303Booking not confirmed

Supplier Details in external

The external object contains the supplier context behind a message. It can include:

FieldMeaning
codeSupplier-specific response or error code (optional). This is not a Connector code.
messageDescriptive, human-readable message returned by, or built from, the supplier response.
httpStatusCodeSupplier HTTP status code, such as 200, 400, or 500; it defaults to 200 when no HTTP status applies.
{
"code": "E9999.1",
"message": "Supplier internal error",
"httpStatusCode": 500
}

Troubleshooting Connector Errors

  1. Find the Connector legacyId in the Connector trace and use the mapping table to identify the Buyer error type or Legacy code.
  2. Read the description to understand the standardized result.
  3. For supplier-originated messages, inspect external.message, external.code, and external.httpStatusCode. These fields contain context that may not appear in the standard description.
  4. Use the Buyer error articles for resolution steps.
  5. Include the correlationId, operation, access or connection, timestamp, Connector id, and relevant external values when contacting Travelgate Support.
warning

Do not treat the supplier-specific value in external.code as a Connector code or legacyId. Use the standardized Connector-to-Buyer mapping first, then use external to diagnose the supplier response.