Do we get charged when no data is returned?

Hi everyone!

Quick question…

Do we get charged when no data is returned? E.G. an incorrect flight number is looked up

Thank you all kindly


Yes; the service is charged by the query not the result.

Hi Everyone,

Quick question on the above…

If i look up a flight using it’s flight ID (so i already know it is a valid flight as i have received this by looking it up using the flight number) and I receive the following response…

<?xml version="1.0"  encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:xsi="" xmlns:xsd="" xmlns:SOAP-ENC=""><SOAP-ENV:Body><SOAP-ENV:Fault><SOAP-ENV:faultcode>CLIENT</SOAP-ENV:faultcode><SOAP-ENV:faultstring>QUIET NOTFOUND: Failed to load flight</SOAP-ENV:faultstring><SOAP-ENV:detail><e:errorInfo xmlns:e="urn:TclErrorInfo"><errorCode>NONE</errorCode></e:errorInfo></SOAP-ENV:detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

…do we get charged for this? It looks to me that it is an error at your end (it is a perfectly valid flightID of CFE8754-1355812022-airline-0202) which as I said above has been returned by looking up the flight number. As the error states ‘Failed to load flight’ that indicates (to me anyway) that the flight exists and failed to load at your end.

Any input on this would be greatly appreciated.

Thanks :slight_smile:


As Mark stated, you are charged regardless of the outcome. Part of the reasoning is to discourage wasteful abuse of the service (some users make queries for every flight number between 1 and 1000 for a specific airline rather than doing a proper query using “Search” or another method, or needlessly poll a tail number at a high rate until it appears in our system).

The error “NOTFOUND: Failed to load flight” is the generic exception that is produced when no matching flight was found, and is not acknowledging existence at all. In any case, I cannot reproduce any problem requesting that specific flight id via SOAP or JSON. Here’s the output for JSON: … rline-0202

{"FlightInfoExResult":{"next_offset":-1,"flights":{"faFlightID":"CFE8754-1355812022-airline-0202","ident":"CFE8754","aircrafttype":"E190","filed_ete":"02:22:00","filed_time":1356027406,"filed_departuretime":1356018600,"filed_airspeed_kts":340,"filed_airspeed_mach":"","filed_altitude":0,"route":"","actualdeparturetime":-1,"estimatedarrivaltime":-1,"actualarrivaltime":-1,"diverted":"","origin":"LEMD","destination":"EGLC","originName":"Barajas Int'l","originCity":"Madrid","destinationName":"London City","destinationCity":"London, England"}]}}