Errors Code

ERRORS / WARNING

 

Fonctionnal Warning Codes

Request is completely valid but there's a problem with the results

Code
Label Description
1300 NO_FARE_FOUND When no fare was found matching the search criteria.
1301 NO_FLIGHT_FOUND When no flight was found matching the search criteria.
1500 FORBINDDEN_ORIGIN_DESTINATION When the origin - destination is forbidden

 

Functional error codes (1000-1999)

Request is completely valid but there's a problem with the results

Code
Label Description
1001 DISCOUNT_CODE_INELIGIBLE When a problem was detected with a given discount code.
1002 DISCOUNT_CODE_INACTIVE When a given discount code is inactive.
1003 DISCOUNT_CODE_MAXIMUM_REACHED   When a discount code has reached its maximum allowed number of bookings.
1004 DISCOUNT_CODE_NOT_APPLICABLE When a discount code is not applicable for a given product.
1100 UNKNOWN_RESERVATION When a given reservation could not be found.
1110 INCOMPLETE_RESERVATION When ticketed date is missing.
1200 PASSENGER_CHANGE_NOT_ALLOWED When passenger count is changed in rebooking.
1201 ITINERARY_CHANGE_NOT_ALLOWED When no. connections in itinerary is changed in rebooking.
1400 UNKNOWN_RESOURCE_ID When resource provider (Resource Store, OFMA's database, ...) does not contain the specified ID.

 

Technical error codes (2000-2999)

The consumer messed up something in the request (header, json value, request parameter, etc.)

Code Label Description
2000 CLIENT_ERROR When we know something is messed up but we don't know exactly what.
2098 UNSUPPORTED_FEATURE When a feature is requested while not supported (e.g. multiple connections w/ date interval)
2099 UNSUPPORTED_API_VERSION When an unsupported API version is requested.
2100 INVALID_HEADER When an invalid header is set.
2101 MISSING_HEADER When a mandatory header is missing.
2102 MISSING_PARAMETER When a mandatory parameter is missing.
2200 INVALID_VALUE When an invalid value is set.
2300 MISSING_SEGMENT When a mandatory segment is missing.
2301 MISSING_CONNECTION When a mandatory connection is missing.
2302 UNSUPPORTED_ORIGIN When the declared origin is not supported.
2400 PAST_DATES_NOT_ALLOWED When past dates are requested while it's not allowed on the process.
2401 INVALID_DATE_COMBINATION When invalid date combination is requested.
2402 MISSING_DEPARTURE_DATE When the departure date is mandatory but not declared.
2405 MISSING_ARRIVAL_DATE_TIME When the arrival date time is mandatory but not declared.
2406 MIN_MAX_DAYS_OF_STAY_NOT_COMBINABLE When the minimum and maximum days of stay are not combinable.
2500 MISSING_FF_HIERARCHY When the fare family hierarchy is missing.
2501 MISSING_ESTIMATED_FLIGHT_TIME When the estimated flight time is missing.
2502 MISSING_OPERATING_CARRIER When the operating carrier is missing.
2503 MISSING_DATE_VARIATION When the date variation is missing.
2504 MISSING_EQUIPMENT_TYPE When the equipment type is missing.
2505 MISSING_REQUEST_TYPE When the request type is missing.
2520 INVALID_BOOKING_FLOW When the booking flow is not valid.
2521 MISSING_PROFILE_ID When the profile ID is missing.
2522 UNKNOWN_PROFILE_ID When the profile ID is unknown.
2523 INVALID_ACCOUNT_CODE When the given account code is not valid.
2600 MISSING_PASSENGER_COUNTS When the passenger counts are missing.
2601 INVALID_PASSENGER_TYPE When the passenger type is not valid.
2602 INSUFFICIENT_ADULTS When there are not enough adults based on PoS settings.
2603 TOO_MANY_INFANTS When there are too many infants compared to the number of adults.
2604 TOO_MANY_PASSENGERS

When there are too many passengers.

2605 TOO_MANY_PASSENGER_DEFINITIONS When both Passengercount and passengers are set in a API request
2606

PAX_CANNOT_TRAVEL_ALONE

When a passenger is not allowed to travel without an adult.

2607

PAX_OFFER_ASSISTANCE

When a passenger should be offered assistance.

2608

TOTAL_PAX_COUNT_INVALID

When the number of selected passengers exceeds the limit.

2609

INVALID_PAX_TYPE

When the type of a passenger does not match his birth date.

2610

INVALID_CABIN_FOR_SELECTED_PAX

When the selected cabin is not available for the passengers selection.

2611

TOO_MANY_CORPORATE_TRAVELLERS

When there are too many passengers (compared to the limit of the selected corporate contract).

2612

PAX_TYPE_UNAUTHORIZED

When a passenger type is not allowed on the selected point of sale.

2613

MISSING_PRIMARY_PAX

When the passengers list does not contain a minimum of one primary passenger as defined
 * in {@link com.klm.search.core.common.model.pax.PassengerTypeCodeHelper#PRIMARY_PASSENGER_TYPES}.

2614 OPTIONAL_UM_NOT_ALLOWED When the passengers list contains an optional UM (Unaccompanied Minor), this case is currently not supported..
2615 UM_PASSENGER_INVALID When the passengers list contains an invalid UM (Unaccompanied Minor) (eg. with missing data).
2650

INVALID_PASSENGER_SELECTION

When the passenger selection is invalid (e.g. selected corporate passengers are not part of the same organization).

2691 UNAUTHORIZED_SUBSCRIPTION_ITINERARY When the itinerary is invalid for the subscriber contract.
2692 SUBSCRIPTION_DATE_VALIDITY_FAILED When the date is invalid for the subscriber contract.
2693 GENERIC_SUBSCRIPTION_CHECK_FAILED When the subscriber contract check is failed
2699

GENERIC_PAX_ERROR

When there was an error regarding the passengers selection but we don't know exactly what is wrong.

Internal error codes (3000-3999)

Code Label Description
3000 EXPIRED Error code for cases where old, expired or invalid encoded data that the server no longer understands was encountered. This can happen when structures are encoded into links that cannot be decoded anymore for example when the server was upgraded.
3100 UNSUPPORTED_CAPABILITY Error code for calls that are valid, but are unsupported at this time
3999 UNSPECIFIED General error code for when no more details are available (or are private).

 

 

 

Code Label Description
2000 CLIENT_ERROR When we know something is messed up but we don't know exactly what.
2099 UNSUPPORTED_API_VERSION When an unsupported API version is requested.
2100 INVALID_HEADER When an invalid header is set.
2101 MISSING_HEADER When a mandatory header is missing.
2102 MISSING_PARAMETER When a mandatory parameter is missing.
2200 INVALID_VALUE When an invalid value is set.
2300 MISSING_SEGMENT When a mandatory segment is missing.
2301 MISSING_CONNECTION When a mandatory connection is missing.
2302 UNSUPPORTED_ORIGIN When the declared origin is not supported.
2400 PAST_DATES_NOT_ALLOWED When past dates are requested while it's not allowed on the process.
2401 INVALID_DATE_COMBINATION When invalid date combination is requested.
2402 MISSING_DEPARTURE_DATE When the departure date is mandatory but not declared.
2405 MISSING_ARRIVAL_DATE_TIME When the arrival date time is mandatory but not declared.
2406 MIN_MAX_DAYS_OF_STAY_NOT_COMBINABLE When the minimum and maximum days of stay are not combinable.
2500 MISSING_FF_HIERARCHY When the fare family hierarchy is missing.
2501 MISSING_ESTIMATED_FLIGHT_TIME When the estimated flight time is missing.
2502 MISSING_OPERATING_CARRIER When the operating carrier is missing.
2503 MISSING_DATE_VARIATION When the date variation is missing.
2504 MISSING_EQUIPMENT_TYPE When the equipment type is missing.
2505 MISSING_REQUEST_TYPE When the request type is missing.
2520 INVALID_BOOKING_FLOW When the booking flow is not valid.
2521 MISSING_PROFILE_ID When the profile ID is missing.
2522 UNKNOWN_PROFILE_ID When the profile ID is unknown.
2523 INVALID_ACCOUNT_CODE When the given account code is not valid.
2600 MISSING_PASSENGER_COUNTS When the passenger counts are missing.
2601 INVALID_PASSENGER_TYPE When the passenger type is not valid.
2602 INSUFFICIENT_ADULTS When there are not enough adults based on PoS settings.
2603 TOO_MANY_INFANTS When there are too many infants compared to the number of adults.
2604 TOO_MANY_PASSENGERS When there are too many passengers.

Docs Navigation