FlightAware Discussions

Error using the GetLastTrack method

Hello,

I am trying to find the last track of various aircraft using their regnum but I am always receiving the following error.

{“error”:“NO_DATA no data available”}

This is happening on all aircraft that I try. An example url I am trying to call is below.

https://flightxml.flightaware.com/json/FlightXML2/GetLastTrack?ident=N921AN

Is there a problem or am I making a mistake somewhere?

Thanks

Stewart

For GetLastTrack if the aircraft is operating under a callsign that is different from its tail (normal for commercial operations) the current callsing should be submitted as the ident. As of writing N921AN is operating as AAL1523.