/
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

21.4.4. FLIGHT FARE RULES

21.4.5. FLIGHT DETAILS

21.4.6. FLIGHT SEAT MAP

21.4.7. FLIGHT PRICING UPSELL

21.4.8. FLIGHT PRICING PRECISE

21.4.9. FLIGHT RESERVATION INITIATE

21.4.10 FLIGHT RESERVATION CONFIRMATION

21.4.11. FLIGHT BOOKING RETRIEVAL QUOTE

21.4.12. FLIGHT BOOKING RETRIEVAL IMPORT

21.4.13. FLIGHT CANCELLATION INITIATE

21.4.14. FLIGHT CANCELLATION CONFIRMATION

21.4.15. FLIGHT UPDATE PRICE

21.4.16. FLIGHT TICKETING

21.4.17. FLIGHT QUEUE

21.4.18. FLIGHT SCREEN TEXT

21.4.19 FLIGHT SPLIT INITIATE

21.4.20. FLIGHT SPLIT CONFIRMATION

21.4.21. FLIGHT NOTIFREPORT

Related content

10.1. RESERVATION INITIATE REQUEST
10.1. RESERVATION INITIATE REQUEST
Read with this
10.6. RESERVATION CONFIRMATION RESPONSE
10.6. RESERVATION CONFIRMATION RESPONSE
Read with this
9. ERROR HANDLING
More like this