21. ERROR HANDLING

21. ERROR HANDLING

Each response from GP Travel HUB contains identifier whether it has been processed successfully or not - the elements <Success/>, <Warning/>, <Errors/>.

There are the following possible cases:

21.1. SUCCESS

Means that request was successfully sent and GP Travel HUB receives correct response from supplier without any warnings and errors from supplier.

<OTA_CancelRS Version="2" EchoToken="EchoToken" TransactionIdentifier="12232" xmlns:ota="http://www.opentravel.org/OTA/2003/05"> <Success/> </OTA_CancelRS>

21.2. WARNING

Means that request was successfully sent and GP Travel HUB receives correct response from supplier, but there are some warnings to pay attention.

There is a structure of Warning Response that is common for every response.

Warnings/Warning:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

Type*

integer (1, 3, 10, 11)

Defines type of the error or warning that occurred. Refers to OTA codes "Error Warning Type (EWT)”.

1…1

Code*

integer (1 - 1051)

Defines Error/Warning code.

1…1

Status*

string ("SENT", "NOT_SENT")

The values are (SENT | NOT_SENT). Used for defining actual status of request.

1…1

ShortText*

string

Short error description.

1…1

RecordID

string

This attribute specifies supplier ID. If requests spans multiple suppliers, you can use this attribute to identify which supplier caused the problem.

0…1

Language*

 

For more information see Common Data Description section in Glossary.

 

DocURL

URI

If present, this URL refers to an online description of the error that occurred.

0…1

Tag

string

If present, this attribute may identify an unknown or misspelled tag that caused an error in processing.

0…1

<Warnings> <Warning Code="189" Language="en" RecordID="supplierCode" ShortText="Price has been changed." Status="SENT" Type="3"/> </Warnings>

21.3. ERROR

Means that request was not sent to supplier (supplier temporally unavailable or failed data verification) or GP Travel HUB receives incorrect response or error from supplier. In case of error GP Travel HUB additionally returns original text from supplier.

Either there can be errors returned by GP Travel HUB itself. It mostly can be cases when a request validation not passed. Requests with incorrect format can not be processed by GP Travel HUB and passed to suppliers, so GP Travel HUB returns SOAP error message.

<Errors> <Error Type="3" Code="172" ShortText="Generic error." Status="NOT_SENT" Tag="NORMAL" Language="en">Invalid client specified [ID:stb, IDContext: null, Instance:null]</Error> </Errors>

21.4. ERROR AND WARNING CODES

Here we list all possible errors and warnings that can occur at flight messages.

21.4.1. COMMON

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Warning

64

Tickets do not match reservation.

Please note the ticket: 2203193131610 has been already voided.

SENT

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Error

448

System error.

Connection unavailable.

SENT

21.4.2. FLIGHT LOW FARE SEARCH

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Error

20

Number of passengers invalid.

Number of infants without seat is more than number of adults.

NOT_SENT

Error

22

Passengers exceed commercial rules.

Supplier does not allow to search by more than 9 passengers.

NOT_SENT

Error

27

Passenger details are mandatory.

  1. Number of infants without seat is more than number of adults.

  2. Mandatory passenger detail is missed, e.g. Age element is missed for a kid or baby.

NOT_SENT

Error

145

Duration period or dates incorrect.

Supplier does not allow to search flights further than 364 day from now.

NOT_SENT

Error

161

Search criteria invalid.

  1. The maximum number of corporate codes is 6.

  2. Supplier does not support OpenJaw search.

NOT_SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Error

448

System error.

Connection unavailable.

SENT/NOT_SENT

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Warning

322

No availability.

No availability.

SENT

Warning

500

Cabin type is not valid for the flight requested.

PremiumEconomy class doesn't supported by supplier.

NOT_SENT

Warning

558

Accounts are settled in a currency different from the quoted rate currency.

Requested currency was 'USD', but rates returned in 'EUR'.

SENT

21.4.3. FLIGHT SCHEDULE SEARCH

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Error

145

Duration period or dates incorrect.

Supplier does not allow to search flights further than 364 day from now.

NOT_SENT

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Error

293

Invalid departure time.

It is mandatory to set up departure time for a search with connection locations.

NOT_SENT

Error

448

System error.

Connection unavailable.

SENT

21.4.4. FLIGHT FARE RULES

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Error

426

No rates offered for this sell request.

 

NOT_SENT

Error

448

System error.

Connection unavailable.

SENT

21.4.5. FLIGHT DETAILS

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Error

18

Itinerary not possible.

No available flight information. Supplier sends error.

SENT

Error

87

Booking reference invalid.

here is no available descriptive info for offer with bookingCode.

NOT_SENT

Error

161

Search criteria invalid.

Air details are not available: booking code is required.

NOT_SENT

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Error

448

System error.

Connection unavailable..

SENT

21.4.6. FLIGHT SEAT MAP

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Warning

22

Passengers exceed commercial rules.

Please note: some seats are not allowed for infants.

SENT

Error

172

Requested action not possible.

  1. The selected flight does not have segments with this RPH.

  2. No available flight information.

SENT

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Warning

293

Invalid departure time.

Departure date and time are inexact.

SENT

Error

448

System error.

Connection unavailable.

SENT

21.4.7. FLIGHT PRICING UPSELL

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Error

172

Requested action not possible.

  1. Upsell is called for offer without branded fare.

  2. Upsell is not allowed for your credentials.

  3. Supplier does not support OTA_AirPriceRQ in this mode.

NOT_SENT

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Warning

342

Cancel fee may apply.

Please note: cancellation policy has been changed!

SENT

Error

448

System error.

Connection unavailable.

SENT

Error

450

Unable to process.

Supplier does not support this request.

NOT_SENT

21.4.8. FLIGHT PRICING PRECISE

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Error

172

Requested action not possible.

Supplier does not support OTA_AirPriceRQ in this mode.

NOT_SENT

Warning

172

Requested action not possible.

Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Warning

342

Cancel fee may apply.

Please note: cancellation policy has been changed!

SENT

Error

448

System error.

Connection unavailable.

SENT

Error

450

Unable to process.

Supplier does not support this request.

NOT_SENT

21.4.9. FLIGHT RESERVATION INITIATE

Error/Warning

Code

Short text

Possible reason

Status

Error/Warning

Code

Short text

Possible reason

Status

Warning

18

Itinerary not possible.

  1. Attention! Supplier declined a flight for some segments! Please contact with supplier to clarify the status of the declined segments.

  2. Please note: validating airline code has been changed. Please check the flight information.

SENT

Error

20

Number of passengers invalid.

  1. The search was done for 1 adult(s), 0 children, 0 infants with seat and 1 infant(s). The booking is doing for 1 adult(s), 0 children, 1 infants with seat and 1 infant(s). Please check booking request.

  2. Please check age of each traveller. Supplier does not allow changing age after search.

NOT_SENT

Error

27

Passenger details are mandatory.

  1. Email is required for reservation.

  2. NamePrefix is mandatory, but the value is empty.

NOT_SENT

Warning

76

Ticket issue request not possible.

Please note that a flight from a budget airline is booked. After confirming the booking an automatic ticket issue will be done.

SENT

Error

150

Changes are not permitted.

Tour lead's citizenship is not the same as it was used on search. This change is not allowed

NOT_SENT

Error

172

Requested action not possible.

  1. A seat can not be assigned to an infant without a seat.

  2. Unable to satisfy, need date of birthday of passenger.

  3. Unable to satisfy, need telephone of passenger.

  4. Mandatory passenger information is missed.

NOT_SENT

Warning

172

Requested action not possible.

  1. Attention! An error happened while adding special remarks: entries will not be taken into account.

  2. Supplier doesn't support TTL in request.

  3. Supplier supports only English.

SENT

Error

175

Password invalid.

Please check username/password to supplier.

SENT

Warning

189

Price has been changed.

Price was changed.

SENT

Error/Warning

197

Undetermined error - please report.

Unable to receive booking status from supplier.

SENT

Warning

208

It is required to cancel reservation.

There is at least one cancelled segment in this PNR. Please contact the carrier directly for details and cancel the PNR.

SENT

Error/warning

259

Reservation requires special handling.

  1. Please note: PNR of the global distribution system was changed by supplier. Flight may have changes: it is recommended to update the price of booking.

  2. Schedule change for a confirmed segment. Please contact the carrier directly for details and update the PNR.

SENT

Warning

342

Cancel fee may apply.

Please note: cancellation policy has been changed!

SENT

Error

367

Invalid format.

  1. Incorrect telephone number.

  2. Incorrect passport number for the 1 passenger.

  3. Incorrect characters in GivenName/Surname

NOT_SENT

Warning

446

Service request not allowed.

  1. Special service OTHS for traveler with information 1S NOMER NE OTVECHAET 17/05 was declined by supplier.

  2. Please note: supplier did not provide the ticket time limit.

SENT

Error

448

System error.

  1. Supplier warning message.

  2. Connection unavailable.

SENT/NOT_SENT