No data for flight number

Hello

I’m trying to receive data for flight “AB8574” using FlightInfo/FlightInfoEx method.

AB8574 flight number was printed on the ticket, using above search field I’m able to find the specific flight. Using this number the api will return “No data available”.

However, using “BER8574” the api returns the desired result set.

Question:
How can I determine the corresponding flight number BER8574 related to my input “AB8574” - is there any method for this?

Best regards

If you have ‘show position only flights’ enabled in your user settings, then FlightInfoEx and FlightInfo will no longer translate IATA airlines codes in an ident to ICAO. So you’ll need to do that IATA->ICAO translation before you make the call (ie make sure your ident is ICAO+Flt Number).