Search code examples
phpgetrequestsabre

how to use IATA-3 letter code in Sabre instaFlights Search API?


I am using instaFlights Search API of Sabre. I am unable to get response for any of the IATA 3-letter codes other then "JFK" and "LAX". Whenever I pass any other IATA code in the request like "DXB", i recieve an error. please note that I am working on test environment and testing the api on the link given below.

link of API test page

The error that i receive every time i request with any other IATA Code.

error snapshot


Solution

  • Are you in CERT or PROD?

    If you are still in CERT, only a subset of available flight schedules/fares will be found and returned. Do you have access to PROD? If you're working in PROD and not getting any results then I would think something else is malformed in your request.