Skip to main content

Error Codes

This document lists all error codes returned by the FlightHub API, organized by functional category. Error codes follow a hierarchical numbering system where the first two digits represent the category.


00000 - Flight Hub (General Errors)

General system errors and authentication issues.

CodeMessage
00001Authentication has failed.
00002Access is unauthorized.
00003Access denied.
00004The requested endpoint could not be found.
00005The user '0' could not be found.
00006This method has already been initialized within the current scope.
00007Customer '0' not found.
00008The value '0' is invalid for '1'.
00009The Client API instance cannot be created again.
00010'0' must not be empty.
00011The item '0' is required.
00012The item '0' is invalid.
00013System '0' not found.
00014System code '0' has already been created.
00015The system has generated related data and cannot be deleted.
00016System config '0' not found.
00017System config code '0' has already been created.
00018The system config has generated related data and cannot be deleted.
00019The SystemId 0 is being activated more than once. Please check again.
00020SourceProviderSystemId 0 and SystemId 1 already exist. Please check again.
00021Failed to update SourceProviderSystem. Please check again.
00022SignInGroup '0' not found.
00023SignInGroup code '0' has already been created.
00024The SignInGroup has generated related data and cannot be deleted.
00026The SystemConfigId 0 is being added more than once. Please check again.
00027SystemConfig 0 and SystemId 1 already exist. Please check again.
00028SignInGroupId must greater than or equal zero
00029Cache '0' not found.
00030Cache with systemId '0' and cacheType 1 has already been created.
00031Failed to update Request Quota. Please check again.
00032SystemConfig 0 already exist. Please check again.
00033Enter your JWT token in the Authorization header using the Bearer scheme.
00034Failed to update SignInGroupConfig. Please check again.
00035The key has expired. Please request a new key or contact support.
00036Unknown error code
00037Load airport time zones error
00038System is not supported
00039Service is invalid
00040The airline system is invalid
00041The system is invalid
00042Booking code is not empty
00043Currency conversion service unavailable
00044The provided Trace ID is invalid.
00045Binary security token Invalid
00046Payment transaction not found
00047Booking status is invalid
00048The system does not have a Source Provider
00049Different Source Provider
00050Different System
00051Unsupported flight info request type
00052Booking signature is invalid
00053You have exceeded the allowed limit for this 0
00054Field '0' must be a valid type
00055Login failed.
00056Invalid flight values

01000 - Search Flight

Errors related to flight search operations.

CodeMessage
01001Search flight error
01002Itinerary is required
01003The number of passengers must not exceed 0
01004Departure time must not exceed 0 days
01005Only 'oneway' and 'roundtrip' search types are supported.
01006Departure and destination points must not be the same
01007Departure time cannot be earlier than the current time
01008The number of infant passengers must not exceed the number of adult passengers
01009The number of adults must be at least 1
01010The next departure time must not be earlier than the previous departure time

02000 - Search Minfare

Errors related to minimum fare search operations.

CodeMessage
02001Search minfare error
02002Search mode is not empty
02003Route info is not null
02004Route leg is not empty
02005Route start point is not empty
02006Route end point is not empty
02007Unsupported search mode

02700 - Face Booking

Errors related to face booking operations.

CodeMessage
02700Face booking error

03000 - Search Exchange

Errors related to exchange flight search operations.

CodeMessage
03000Search exchange flight error

04000 - Select Verify

Errors related to flight selection and verification.

CodeMessage
04000Select flight error
04001The price has been changed, the old price was 0, and the new price is: 1
04002Get flight info error

05000 - Fare Rules

Errors related to fare rules retrieval.

CodeMessage
05000Get fare rules error

06000 - Book

Errors related to flight booking operations.

CodeMessage
06000Book flight error
06001Flight value is not empty
06002List of flight value is not empty
06003Booking contact is not empty
06004Email in contact is not empty
06005Phone in contact is not empty
06006List of passenger in booking is not empty
06007Passenger name is not empty
06008Passenger type is not empty
06009Only 'oneway' and 'roundtrip' booking types are supported.
06010Departure within 24 hours. Use Pay Now to issue the ticket.
06011Identity card must contain exactly 12 numeric characters
06012Passenger seatmap is not empty.
06013Passenger ancillary is not empty.
06014Passenger baggage is not empty.
06015Total number of passengers does not match. Expected: 0, Actual: 1
06016Number of 0 passengers does not match. Expected: 1, Actual: 2

07000 - Retrieve Booking

Errors related to booking retrieval operations.

CodeMessage
07000Retrieve booking error

08000 - Retrieve Ticket

Errors related to ticket retrieval operations.

CodeMessage
08000Retrieve ticket error
08001Ticket type is not empty

09000 - Price Quote

Errors related to price quote operations.

CodeMessage
09000Price quote error

10000 - Issue TKT

Errors related to ticket issuance operations.

CodeMessage
10000Issue ticket flight error
10001Ticket is already issued
10002Booking is issued ticket
10003Booking has not been ticketed or has been canceled
10004Commission amount must greater than or equal zero
10005No fares found

11000 - Issue EMD

Errors related to EMD (Electronic Miscellaneous Document) issuance.

CodeMessage
11000Issue EMD error

12000 - Issue Queue Place

Errors related to queue placement for ticket issuance.

CodeMessage
12000Queue Place error.
12001Ticket issuance is in progress
12002Issue PCC or Queue Number is not configured

13000 - Refund

Errors related to ticket refund operations.

CodeMessage
13000Refund ticket error
13001Ticket number has already been refunded.
13002All tickets have been refunded.
13003Refund value is not empty
13004Ticket number not found
13005Is emd ticket is not empty
13006Ticket number is not empty
13007This fare class is non-refundable.

14000 - Cancel

Errors related to booking cancellation operations.

CodeMessage
14000Cancel booking is error
14001Not found canncel offers

15000 - Void

Errors related to ticket void operations.

CodeMessage
15000Void ticket is error
15001List ticket is not empty
15002Booking code does not match the voided ticket
15003There exists a number of tickets that have not been Voided. PNR cannot be canceled.
15004Void ticket failed.

16000 - Change Flight

Errors related to flight change operations.

CodeMessage
16000Change flight error
16001Flight cancel value is not empty
16002Flight add new value is not empty
16003At least one of FlightCancels or FlightAddNews must be provided

17000 - Exchange Ticket

Errors related to ticket exchange operations.

CodeMessage
17000Exchange ticket error
17001Exchange flight value is not empty
17002Flight fare option invalid or sold out
17003Reprice for exchange ticket error
17004Confirm for exchange ticket error

18000 - Contact

Errors related to contact information updates.

CodeMessage
18000Update contact error
18001Contact email is not empty
18002Contact phone number is not empty
18003Booking information not found by 0

19000 - Document

Errors related to passenger document operations.

CodeMessage
19000Add document error
19001Delete document error
19002List document is not empty
19004List document number not found.
19005List of passenger is not empty
19006Passenger document is required for 0 system.
19007Document number must not exceed 12 characters.
19008Passenger document info is not empty
19009Passenger document type is not empty
19010Passenger document code is not empty
19011Passenger document dateOfbirth is not empty
19012Passenger document expiry is not empty
19013Passenger document nationality is not empty
19014Passengerst document issue country is not empty
19015Passengers not found

20000 - Seat

Errors related to seat map and seat selection operations.

CodeMessage
20000Get seatmap error
20001Add seat error
20002Delete seat error
20003Not found flight offer

21000 - Baggage

Errors related to baggage operations.

CodeMessage
21000Get baggage error
21001Add baggage error
21002List baggage is not empty
21003Baggage value is not empty
21004Delete baggage error

22000 - Ancillary

Errors related to ancillary service operations.

CodeMessage
22000Get ancillary error
22001Add ancillary error
22002List ancillary is not empty
22003Ancillary value is not empty
22004Quantity must greater than 0
22005Delete ancillary error

23000 - Passenger

Errors related to passenger information updates.

CodeMessage
23001Update passenger error
23002Passenger namem id is not empty
23003Passenger given name is not empty
23004Passenger surname is not empty
23005Passenger DateOfBirth is not empty
23006Passenger parentId is not empty
23007Passenger title is not empty
23008Passenger gender is not empty

24000 - Split Passenger

Errors related to passenger splitting operations.

CodeMessage
24001Split passenger error
24002Infant passengers are not allowed for this operation.
24003Split passengers do not match the passengers in the booking.

25000 - Add Infant

Errors related to adding infant passengers.

CodeMessage
25000Add infant error
25001Add infant error for Index: [0], InfantName: 1
25002List infant is not empty
25003Infant title is invalid.
25004Infant parentId is not empty
25005Infant title is not empty
25006Infant gender is not empty
25007Infant given name is not empty
25008Infant surname is not empty
25009Infant DateOfBirth is not empty

26000 - Membership

Errors related to frequent flyer membership operations.

CodeMessage
26001Add membership error
26002Delete membership error
26003List membership is not empty
26004Passenger membership info is not empty
26005Passenger membership Id is not empty

27000 - Face Booking

Errors related to face booking operations.

CodeMessage
02700Face booking error

28000 - Remark

Errors related to remark operations.

CodeMessage
28000Add remark error
28001Delete remark error
28002Add remark ticket error
28003List remark is not empty
28004Remark info is not empty

29000 - OIS

Errors related to OSI (Other Service Information) operations.

CodeMessage
29000Add OIS error
29001Delete OIS error
29002List OIS is not empty

30000 - SK

Errors related to SSR (Special Service Request) / SK operations.

CodeMessage
30000Add SK error
30001Delete SK error
30002List sk is not empty
30003SK is not empty
30004SK type is not empty

31000 - TST

Errors related to TST (Transitional Stored Ticket) operations.

CodeMessage
31000Update tst error

32000 - Sales Report

Errors related to sales report operations.

CodeMessage
32000Sales report error
32001From date is not empty
32002To date is not empty

33000 - Send Queue

Errors related to sending queue operations.

CodeMessage
33000Send queue error
33001Queue number is not empty
33002Category number is not empty

34000 - Send Email

Errors related to email sending operations.

CodeMessage
34000Send email ticket error

35000 - Check-in Online

Errors related to online check-in operations.

CodeMessage
35000Check-in online error

36000 - Agent Credit

Errors related to agent credit operations.

CodeMessage
36000Get agent credit error

37000 - Endorsement

Errors related to endorsement operations.

CodeMessage
37000Update endorsement error
37001Endorsement is not empty
37002Endorsement index is not empty

38000 - Emission

Errors related to CO2 emission calculations.

CodeMessage
38000Get flight emission error
38001DepartDate mode is not empty
38002Flight number is not empty
38003OperatingCarrier carrier is not empty

Error Code Format

Error codes follow a 5-digit format where:

  • First 2 digits: Category identifier (e.g., 01 = Search Flight, 06 = Book)
  • Last 3 digits: Specific error within that category

Placeholder Values

Some error messages contain placeholders (e.g., {0}, {1}) that will be replaced with actual values when the error is returned. For example:

  • 00005: The user '{0}' could not be found.The user 'john.doe' could not be found.
  • 04001: The price has been changed, the old price was {0}, and the new price is: {1}The price has been changed, the old price was 1000000, and the new price is: 1200000

For integration support, see Contact Support.