FlightAware Errors


#1

We are using these two API’s: FlightInfoEx and GetLastTrack.
When the flight number passed is incorrect we see the below error string:
{“error”:“no data available”}

So, we would like to know what are all such errors returning from above two API’s so that we can handle them in our code.


#2

For FlightInfoEx possible errors are “INVALID: invalid {ident}” and "no data available"
For GetLastTrack possible errors are “INVALID: invalid {ident}”, “blocked aircraft” and "no data available"
Note that for the invalid {ident} the {ident} is replaced with the ident passed in.