Unable to find some FlightInfo


#1

Hello,

I use the InFlightInfo function.
When I try to get the FlightInfo of “AM6159” the result is empty. But when I try to get the “SU3064” info, I get the correct answer. It’s the same flight as the “AF7706” and when I try on your website it works. So I don’t understand why it doesn’t work with the API.

Can you help me ?

Thank you.


#2

Hi,
I see that InFlightInfo AM6159 does not return anything. However AMX6159 does return the information. Some FlightXML query results can be unpredictable when using IATA codes in the ident.
I strongly recommend using the ICAO codes for the airlines instead of IATA codes: AMX instead of AM, AFL instead of SU and so on…

https://flightaware.com/json/FlightXML2/InFlightInfo?ident=AMX6159;offset=0;sort=ASC;howMany=1