I’m trying to figure out why this Ruby code is not working for me:
@airportinfo = FA.airportInfo(AirportInfoRequest.new(‘KLAX’))
FA is my FlightAware authentication object, I’m able to use allAirports (e.g. @airports = FA.allAirports(AllAirportsRequest.new)), so the problem is not with my FlightAware config/init, but the error message I’m getting is:
SOAP::FaultError: unknown airport INVALID
I get this error message no matter what ICAO airport code I use as a parameter. Any clue what is going on here? Looking at the Ruby driver (github.com/flightaware/flightxm … ghtXML2.rb) it looks like this should work?