HaloSync
sbx
  • prod
  • sbx
Home
LunaAlbus
Home
LunaAlbus
sbx
  • prod
  • sbx
sbx
  • prod
  • sbx
  1. Integration Guides
  • HaloSync Portal
  • Getting Started
    • About HaloSync
    • Supported Airlines & Onboarding
    • Quickstart
  • Operations & Support
    • Airline Operational Notes
    • FAQ & Contact
    • Reporting an Issue
  • Integration Guides
    • ๐Ÿ” Authentication (HMAC)
    • ๐Ÿ”‘ Transaction ID Guidelines
    • Carrier Support Matrix
    • Error Handling & Troubleshooting
  • API Reference
    • OrderChangeNotif
    • AirShopping
    • OfferPrice
    • OrderCreate
    • OrderRetrieve
    • ServiceList
    • SeatAvailability
    • OrderReshop
    • OrderQuote
    • OrderChange
    • OrderCancel
  • Release Notes
    • PolarHub Release Note
    • Albus Release Note
    • Luna Release Note
  • Product Guides
    • Albus User Guide
      • Sign In
      • Dashboard
      • Shopping Offer
      • PolarHub Credential
      • Airline Profile
      • Airline Route Control
      • Airline L2B Limit
      • Airline Timeout
      • Customer Account
      • Albus Admin & User
      • Account Billing
      • Insight
      • Reservation
    • Luna User Guide
      • Login
      • Main Screen & Lists
      • Booking & Ticketing
      • Booking Cancellation
      • Booking PNR Details
      • Booking Change
      • Ancillary Services
      • User Management
  • Schemas
    • Archived
      • PolarHub Schema 2025.3
        • comm
          • TravelAgencyType
          • OriginDestType
          • PaxCodeType
          • CriteriaType
          • ResponseParameterType
          • ResultMessageType
          • DataListsType
          • OrderOfferType
          • OfferType
          • OfferItemInfoType
          • PaxType
          • PaymentType
          • ContactInfoType
          • OrderViewOrderType
          • OfferType_Extend
        • AirShoppingRQ
        • AirShoppingRS
        • OfferPriceRQ
        • OfferPriceRS
        • OrderCreateRQ
        • OrderViewRS
        • SeatAvailabilityRQ
        • SeatAvailabilityRS
        • ServiceListRQ
        • ServiceListRS
        • OrderRetrieveRQ
        • OrderReshopRQ
        • OrderQuoteRQ
        • OrderReshopRS
        • OrderCancelRQ
        • OrderCancelRS
        • OrderChangeRQ
      • PolarHub Schema 2025.6
        • comm
          • RequestOfferItemType
          • RequestOrderItemType
          • OrderServicingDeleteType
          • TravelAgencyType
          • OriginDestType
          • PaxCodeType
          • CriteriaType
          • ResponseParameterType
          • ResultMessageType
          • DataListsType
          • OrderOfferType
          • OfferType
          • OfferItemInfoType
          • PaxType
          • PaymentType
          • ContactInfoType
          • OrderViewOrderType
          • OfferType_Extend
        • AirShoppingRQ
        • AirShoppingRS
        • OfferPriceRQ
        • OfferPriceRS
        • OrderCreateRQ
        • OrderViewRS
        • SeatAvailabilityRQ
        • SeatAvailabilityRS
        • ServiceListRQ
        • ServiceListRS
        • OrderRetrieveRQ
        • OrderReshopRQ
        • OrderQuoteRQ
        • OrderReshopRS
        • OrderCancelRQ
        • OrderCancelRS
        • OrderChangeRQ
      • PolarHub Schema 2025.7
        • comm
          • TravelAgencyType
          • ResponseParameterType
          • OrderViewOrderType
          • OfferType
          • OfferType_Extend
          • PaymentType
          • OriginDestType
          • PaxCodeType
          • CriteriaType
          • ResultMessageType
          • DataListsType
          • OrderOfferType
          • OfferItemInfoType
          • PaxType
          • ContactInfoType
        • OrderViewRS
        • AirShoppingRS
        • OfferPriceRS
        • OrderReshopRS
        • OrderCreateRQ
        • OrderChangeRQ
        • SeatAvailabilityRS
        • ServiceListRS
        • OrderCancelRS
        • OrderCancelRQ
        • OrderQuoteRQ
        • OfferPriceRQ
        • AirShoppingRQ
        • SeatAvailabilityRQ
        • OrderRetrieveRQ
        • OrderReshopRQ
        • ServiceListRQ
      • PolarHub Schema 2025.9
        • Acknowledgement
        • OrderChangeNotif
      • PolarHub Schema 2026.3
        • comm
          • TravelAgencyType
          • ResponseParameterType
          • OrderViewOrderType
          • OfferType
          • OfferType_Extend
          • PaymentType
          • OriginDestType
          • PaxCodeType
          • CriteriaType
          • ResultMessageType
          • DataListsType
          • OrderOfferType
          • OfferItemInfoType
          • PaxType
          • ContactInfoType
          • PayerType
        • AirShoppingRS
        • OrderViewRS
        • OfferPriceRS
        • OrderReshopRS
        • OrderCreateRQ
        • OrderChangeRQ
        • SeatAvailabilityRS
        • ServiceListRS
        • OrderCancelRS
        • OrderCancelRQ
        • OrderQuoteRQ
        • OfferPriceRQ
        • AirShoppingRQ
        • SeatAvailabilityRQ
        • OrderRetrieveRQ
        • OrderReshopRQ
        • ServiceListRQ
        • OrderChangeNotif
        • Acknowledgement
      • PolarHub Schema 2026.2
        • comm
          • PayerType
          • TravelAgencyType
          • ResponseParameterType
          • OrderViewOrderType
          • OfferType
          • OfferType_Extend
          • PaymentType
          • OriginDestType
          • PaxCodeType
          • CriteriaType
          • ResultMessageType
          • DataListsType
          • OrderOfferType
          • OfferItemInfoType
          • PaxType
          • ContactInfoType
        • OrderViewRS
        • AirShoppingRS
        • OfferPriceRS
        • OrderReshopRS
        • OrderCreateRQ
        • OrderChangeRQ
        • SeatAvailabilityRS
        • ServiceListRS
        • OrderCancelRS
        • OrderCancelRQ
        • OrderQuoteRQ
        • OfferPriceRQ
        • AirShoppingRQ
        • SeatAvailabilityRQ
        • OrderRetrieveRQ
        • OrderReshopRQ
        • ServiceListRQ
        • OrderChangeNotif
        • Acknowledgement
      • PolarHub Schema 2026.1
        • comm
          • TravelAgencyType
          • ResponseParameterType
          • OrderViewOrderType
          • OfferType
          • OfferType_Extend
          • PaymentType
          • OriginDestType
          • PaxCodeType
          • CriteriaType
          • ResultMessageType
          • DataListsType
          • OrderOfferType
          • OfferItemInfoType
          • PaxType
          • ContactInfoType
        • OrderViewRS
        • AirShoppingRS
        • OfferPriceRS
        • OrderReshopRS
        • OrderCreateRQ
        • OrderChangeRQ
        • SeatAvailabilityRS
        • ServiceListRS
        • OrderCancelRS
        • OrderCancelRQ
        • OrderQuoteRQ
        • OfferPriceRQ
        • AirShoppingRQ
        • SeatAvailabilityRQ
        • OrderRetrieveRQ
        • OrderReshopRQ
        • ServiceListRQ
    • PolarHub Schema 2026.5 (Latest)
      • comm
        • TravelAgencyType
        • ResponseParameterType
        • OrderViewOrderType
        • OfferType
        • OfferType_Extend
        • PaymentType
        • OriginDestType
        • PaxCodeType
        • CriteriaType
        • ResultMessageType
        • DataListsType
        • OrderOfferType
        • OfferItemInfoType
        • PaxType
        • ContactInfoType
        • PayerType
      • AirShoppingRS
      • OrderViewRS
      • OfferPriceRS
      • OrderReshopRS
      • OrderCreateRQ
      • OrderChangeRQ
      • SeatAvailabilityRS
      • ServiceListRS
      • OrderCancelRS
      • OrderCancelRQ
      • OrderQuoteRQ
      • OfferPriceRQ
      • AirShoppingRQ
      • SeatAvailabilityRQ
      • OrderRetrieveRQ
      • OrderReshopRQ
      • ServiceListRQ
      • OrderChangeNotif
      • Acknowledgement
  1. Integration Guides

Error Handling & Troubleshooting

Every PolarHub response carries a ResultMessage object that tells you exactly what happened. This page explains how to read it, how to resolve the errors you'll see most often, when to retry, and how to escalate if you're stuck.
Read ResultMessage.Code โ†’ Is it 00000? โ”€โ”€yesโ”€โ”€โ–ถ success
                                โ”‚
                                no
                                โ–ผ
        Find the code below โ†’ apply the fix โ†’ retryable? โ”€โ”€noโ”€โ”€โ–ถ fix & resubmit
                                                  โ”‚
                                                 yes โ”€โ”€โ–ถ retry with backoff
                                                  โ”‚
                              still failing / code not listed โ”€โ”€โ–ถ Reporting an Issue

1. The error model#

PolarHub surfaces errors in two layers:
Transport (HTTP status) โ€” whether the request reached and was accepted by PolarHub.
Application (ResultMessage) โ€” the authoritative business result, in the response body. Always read ResultMessage first: a 200 OK can still carry a business error.
ResultMessage structure
"ResultMessage": {
  "Code": "50243",
  "Message": "Invalid or Expired Offer"}
Code โ€” a 5-digit string. 00000 = success; any other value = error.
Message โ€” human-readable text. For airline-origin errors, the carrier's own message is passed through verbatim.
Code families (read the leading digits to know where to look):
RangeFamilyWhat it means
00000SuccessRequest succeeded
501xxAirShopping validationMissing/invalid search fields
502xxOrder / booking / ticketingRequired fields and booking-state errors
503xxPrice / order / issue validationRequired fields for OfferPrice / OrderCreate / issue
505xxAirline-dependentWaitlist, airline passthrough
59395 / 95005Aggregator / upstreamAirline response unclear or timed out
xx297 / xx397Internal build/convertResult build / message convert error
99999Uncaught exceptionUnhandled system error
โš ๏ธ HTTP-layer conventions (draft โ€” please confirm before publishing): auth/signature failures and clock skew beyond ยฑ120s โ†’ 401/403; rate limiting โ†’ 429; gateway/infra โ†’ 5xx. Application errors are typically returned as 200 OK with a non-00000 ResultMessage.Code. (These mappings need a final check against the gateway config.)

2. Common errors & how to resolve them#

๐Ÿ”‘ Authentication#

Signature or timestamp rejected (request never reaches the business layer).
Fix: Rebuild the signature using the sample code in the Authentication (HMAC) guide, and keep your clock NTP-synced (requests are valid within ยฑ120s).

๐Ÿ“ Request validation โ€” 501xx, 502xx/503xx "value is required"#

A field is missing or malformed (e.g., 50102 Origin required, 50117 invalid Cabin, 50119 too many passengers, 50120 invalid PTC, 50233 OrderID required).
Fix: Correct the named field and resubmit. Not retryable as-is โ€” the same request will fail again.

๐ŸŽŸ Offer lifecycle#

CodeMeaningWhat to do
50243Invalid or Expired OfferThe offer expired โ€” run a fresh AirShopping โ†’ OfferPrice and use the new offer.
50332OfferPrice failed (cache off)Re-shop to refresh the offer cache, then price again.
50244OrderItem already ticketedStop โ€” the item is already issued. Verify with OrderRetrieve.
50258Multiple Order with same OfferIDDon't reuse an OfferID across orders; create from a fresh offer.

๐Ÿ“‘ Booking / ticketing state#

CodeMeaningWhat to do
50202Booking created, airline response error (BA timeout)Do not re-book. The PNR exists โ€” retrieve it with the OrderID.
50240Passenger / ticket count mismatchPolarHub auto-cancels the PNR. Rebook and reissue.
50257PNR not created (supplier PNR only)Treat as failed โ€” the airline did not create the PNR. Rebook.
50241PNR currently being updatedTransient โ€” wait briefly and retry.
50250 / 50201PNR previously cancelledAlready cancelled โ€” no further action.
50238Cannot check order statusRetrieve the order for the current state instead of retrying.

โœˆ Airline / aggregator#

CodeMeaningWhat to do
95005Aggregator Service Error (e.g. timeout)Transient upstream issue โ€” retry with backoff.
59395Service error (timeout / 500)Transient โ€” retry with backoff.
50599Airline response error (passthrough)Read the airline's message in Message; retry only if it's transient, otherwise fix per the message.
50501Waitlist is closedNot retryable โ€” the airline closed the waitlist.
50235No access to overbook flightNot retryable โ€” overbooking not allowed by the airline.

๐Ÿ›ซ Carrier-specific#

CodeMeaningWhat to do
50261KE order not cancelledProceed with KE's manual refund process.
50330NDC order modified externally (FLX)Retrieve the latest order state before acting.
50262Request conflict with another operationTransient โ€” retry.

3. Retry guidance#

Match the error to one of four behaviors โ€” retrying a non-transient error just repeats the failure.
BehaviorWhenCodes (examples)
๐Ÿ” Retry with backoffTransient upstream/system or short-lived lock95005, 59395, 99999, 50241, 50262
๐Ÿ”Ž Don't retry โ€” retrieveThe action may have partially succeeded; fetch the real state50202, 50238, 50330
๐Ÿ›‘ Don't retry โ€” fix & resubmitDeterministic: bad input or terminal stateall 501xx/50x "required", 50243, 50244, 50250, 50501, 50235
โœˆ Airline-dependentOutcome depends on the carrier's own message50599
Backoff: start ~1s and double up to a sensible cap (e.g., 3โ€“5 attempts). Reuse the same TransactionID across retries of the same logical operation so the attempts trace together in our logs.

4. Still stuck? Report it#

If the error persists after the steps above, or the code isn't listed / the behavior is unexpected:
1.
Capture the ResultMessage (Code + Message) and the time (with timezone).
2.
Copy your Transaction ID and the full request/response payload of the failing call.
3.
Follow Reporting an Issue โ€” the PolarHub template lists exactly what to attach.
๐Ÿ“ฎ Reports go to halosync_support@halocorp.kr. For general questions, see FAQ & Contact.

5. Full error code reference#

Complete list of ResultMessage.Code values. Message is the literal string returned by the API.
CodeMessageRemarks
00000success
99999Uncaught ExceptionUnhandled system error
95005Aggregator Service ErrorAirline responded in a way that prevented error classification, so the Aggregator could not process it. Example: timeout
50101It is not a valid Origin value
50102The 'Origin' value is required.
50103It is not a valid Destination value
50104The 'Destination' value is required.
50105It is not a valid Triptype value
50106The 'TripType' value is required.
50107It is not a valid mtDeparture value
50108If the itinerary type is MT, the mtDeparture value is required.
50109It is not a valid mtArrival value
50110If the itinerary type is MT, the mtArrival value is required.
50111It is not a valid DepartDate value
50112It is not a valid mtDepartDate value
50113If the itinerary type is MT, the mtDepartdate value is required.
50114It is not a valid ReturnDate value
50115It is not a valid mtArrivalDate value
50116If the itinerary type is MT, the mtArrivalDate value is required.
50117It is not a valid Cabin valueY: economy, W: premium economy, C: business, F: first
50118The 'Passenger' value is required.
50119The maximum number of passengers that can be requested is {} persons.
50120It is not a valid PTC value
50121If the itinerary type is RT or OW, the ReturnDate value is required.
50122The array sizes of MtDeparture, MtArrival, and MtDepartDate must be the same.
50150Results build error
50152Can't find ShoppingResponse Data
50153Not found airline route.
50154Not found airline provider.
50199No query results.
50201Invalid PNR Cancel: PNR previously cancelled
50202Your booking has been created successfully. Please retrieve it using the OrderIDBA timeout: booking created but airline response error. Retrieve with OrderID.
50203Ticket issue fail
50204The 'AgencyID' value is required.
50205The 'Recipient' value is required.
50206The 'Passengers' value is required.
50207The 'PassengerID' value is required.
50208The 'Ptc' value is required.
50209The 'Gender' value is required.
50210The 'BirthDate' value is required.
50211The 'Name' value is required.
50212The 'NameTitle' value is required.
50213The 'Surname' value is required.
50214The 'GivenName' value is required.
50215The 'Offer' value is required.
50216The 'OfferID' value is required.
50217The 'Owner' value is required.
50218The 'OfferItems' value is required.
50219The 'OfferItemID' value is required.
50220The 'Query' value is required.
50221The 'Offers' value is required.
50222The 'Flights' value is required.
50223The 'OriginDestinationKey' value is required.
50224The 'Segments' value is required.
50225The 'SegmentKey' value is required.
50226The 'FareBasisCode' value is required.
50227The 'PriceClassName' value is required.
50228The 'FareRefKey' value is required.
50229The 'ResponseID' value is required.
50230The 'Order' value is required.
50231The 'Action' value is required.
50232It is not a valid 'Action' value ex) issue or refund or void
50233The 'OrderID' value is required.
50234The 'BookingReference' value is required.
50235No access to overbook flight.Overbooking not allowed by the airline
50236The Order has not been cancelled, Unable to update ticket status from airline
50237The Order has not been cancelled, Same day refunds not allowed
50238Cannot check the status Order, please retrieve the order for details
50239Invalid PromotionCd
50240Passenger count and ticket document count is not matched.If ticket count โ‰  passenger count, PolarHub automatically cancels the PNR
50241PNR {PNRADDR} currently being UpdatedPNR is being updated โ€” retry later
50242Cannot make fareRule information
50243Invalid or Expired OfferReturned when using an expired offer
50244OrderItem {1} specified already ticketedTicket issuance requested for an already-ticketed order
50245The 'OrderID' or 'BookingReference' value is required.
50246Can't find OrderID
50247Incorrect 'FlightQuery' information
50248Incorrect 'ResponseID'
50249Can't find Order information
50250PNR previously cancelledPNR already cancelled at the airline
50252Deletion not allowedInvoluntary change cancellation not allowed
50253Invalid response to TicketImageRQAirline response invalid
50255The 'PassengerAssociationReference' value is required.Required when an INF passenger must reference a guardian
50256Cannot add duplicate seat elements for the same traveler and segment.Duplicate seat assignment attempted
50257PNR not createdPNR not issued at the airline; only the supplier PNR was created
50258Multiple Order with the same OfferID
50259Invalid Country Code : CountryOfIssuanceCountry code longer than 3 characters
50260Can't find OrderReshop Response Data
50261The KE Order has not been cancelled, please proceed with the manual refund process.KE refund restriction
50262Request conflict with another operation. Please try again.
50295{messageName}, service error
50296{messageName}, Polarpie Message Convert Error
50297Result build error
50298Segment status is HL
50299No query results
50301The 'AgencyID' value is required.
50302The 'Recipient' value is required.
50303The 'Passengers' value is required.
50304The 'PassengerID' value is required.
50305The 'Ptc' value is required.
50306The 'Gender' value is required.
50307The 'BirthDate' value is required.
50308The 'Name' value is required.
50309The 'NameTitle' value is required.
50310The 'Surname' value is required.
50311The 'GivenName' value is required.
50312The 'Offer' value is required.
50313The 'OfferID' value is required.
50314The 'Owner' value is required.
50315The 'OfferItems' value is required.
50316The 'OfferItemID' value is required.
50317The 'Query' value is required.
50318The 'Offers' value is required.
50319The 'Flights' value is required.
50320The 'OriginDestinationKey' value is required.
50321The 'Segments' value is required.
50322The 'SegmentKey' value is required.
50323The 'FareBasisCode' value is required.
50324The 'PriceClassName' value is required.
50325The 'FareRefKey' value is required.
50326If TicketDateTime set then 'Date' value is required.
50327If TicketDateTime set then 'Time' value is required.
50328The 'ResponseID' value is required.
50329Need an OrderID or OfferID.
50330NDC Order discrepancy error. Order has been modified externally.Order modified externally (FLX only)
50331Can't find ResponseID
50332OfferPrice request failed due to cache control being disabled.
50396{messageName}, Polarpie Message Convert Error
50397Result build error
50399No query results
59395{messageName}, service errorAirline response unclear and BE cannot process (e.g. timeout, 500 error)
50501Waitlist is closedAirline waitlist is closed
50599{Owner}, {airline response message}, Airline response errorThe airline's own error message is passed through. When the NDC API returns an error regardless of content, it is surfaced as 50599.
Modified atย 2026-06-30 07:42:59
Previous
Carrier Support Matrix
Next
API Reference
Built with